strapi / strapi-starter-next-corporate

Next.js starter for creating a corporate site with Strapi.
https://strapi-starter-next-corporate.vercel.app
MIT License
346 stars 95 forks source link

Output directory different to that of Vercel #19

Closed maggie44 closed 3 years ago

maggie44 commented 3 years ago

When deploying to Vercel the following settings were required:

Screenshot 2021-01-20 at 20 44 23

Vercel's defaults are:

Screenshot 2021-01-20 at 20 45 54

Would suggest making the output directory Next.js.

markkaylor commented 3 years ago

Hi @maggie0002 according to Next.js documentation here: https://nextjs.org/docs/api-reference/next.config.js/setting-a-custom-build-directory the default build directory is .next. So I don't think it is necessary to toggle the override here. Did you have trouble when deploying? I'm closing this issue for now, but please feel free to open if you are still having trouble.