Deploy your Thulite Site to Vercel
You can use Vercel to deploy a Thulite site to their global edge network with zero configuration.
This guide includes instructions for deploying to Vercel through the website UI or Vercel’s CLI.
How to deploy
You can deploy to Vercel through the website UI or using Vercel’s CLI (command line interface).
Website UI Deployment
- Push your code to your online Git repository (GitHub, GitLab, BitBucket).
- Import your project into Vercel.
- Vercel will automatically detect Thulite and configure the right settings.
- Your application is deployed!
After your project has been imported and deployed, all subsequent pushes to branches will generate Preview Deployments, and all changes made to the Production Branch (commonly “main”) will result in a Production Deployment.
- Learn more about Vercel’s Git Integration.
CLI Deployment
-
Install the Vercel CLI and run
vercel
to deploy. -
Vercel will automatically detect Thulite and configure the right settings.
-
When asked
Want to override the settings? [y/N]
, chooseN
. -
Your application is deployed!
Project config with vercel.json
You can use vercel.json
to override the default behavior of Vercel and to configure additional settings. For example, you may wish to attach headers to HTTP responses from your Deployments.
- Learn more about Vercel’s project configuration.