sanity-io / sanity-template-nextjs-landing-pages

A Sanity powered landing page builder in Next.js for https://sanity.io/create
https://www.sanity.io/create/?template=sanity-io%2Fsanity-template-nextjs-landing-pages
158 stars 54 forks source link

feat: upgrade to next 10 #49

Open d4rekanguok opened 3 years ago

d4rekanguok commented 3 years ago

Hi folks! In this PR, I upgraded next 8 -> 10 and a few other deps, please have a look.

Currently the template only uses Next's static export feature (via exportPathMap), but Netlify has since supported full-featured next app. I wonder if we could rewrite the template a bit so it could take advantage of the static optimization & dynamic route features, so users may deploy the frontend as a full Next app if they wish? edit: I've got a WIP for this in a branch here

Thanks!