I hope everybody's safe.
I'm playing with Prismic on a small project before going full production and I'm hitting a wall .
I started from a mix between the NextJS Blog and the NextJS i18n example. Locally using
yarn dev and or
yarn build && yarn start, everything works like a breeze.
But when I send everything on Vercel:
- any client-side routing to, say, my "blog" page, will fail with a
An unexpected error has occurred.message.
- any server-side routing (page refreshing, direct link) will display a mostly-empty page (just my Layout, and nothing inside it).
Did I missed something obvious? Any help is appreciated. Thanks
EDIT: more debug infos :
- I'm able to query my data usingthe API Browser as described in The Rest API Browser - Prismic