Deploy on vercel

SSR Deployment

Add vercel.json to your project

If you use SSR mode then you should check if your vercel.json in project root directory is correct.

See more here: Nuxt vercel builder

Here is an example vercel.json

{
  "version": 2,
  "builds": [
    {
      "src": "nuxt.config.js",
      "use": "@nuxtjs/vercel-builder",
      "config": {
        "serverFiles": [
          "config/**",
          "api/**"
        ],
        "internalServer": true
      }
    }
  ]
}