- Make sure to install the dependencies
pnpm i
- Create a
.env
file in the root of your project, add the variables from.env.example
- Create a vercel project with the following build command:
npm run build:prod
- Add the env variables from the
.env
file to the vercel project. - Configure a domain, should be the same as
NUXT_PUBLIC_SITE_URL
. You eventually have to redeploy the project after changing the domain.