I am trying to get my Prismic project working together with Nuxt and Netlify.
My issue is that when updating content from the Prismic CMS, the localhost gets updated but not the Netlify website.
I have followed Netlifys guide to deployment, which doesn’t really help.
My best guess it has something to do with the target inside
nuxt-config.js together with the build. But I’m not sure. Or maybe it has something do to with Prismic. Either way, I would appreciate enlightenment.
I am using the latest Nuxt (2.13.2). The target inside
nuxt.config.js is set to
static. And I build with
nuxt build && nuxt export. The whole project is basically set up with the nuxt/prismic tutorial, other than it’s using the latest nuxt without the deprecated
One more thing, it shows the updated content with Prismic Preview. But as soon as Preview is off, the content goes away again.
Does anyone here know what the problem might be?
Edit: I tried deploying an entirely clean version of the prismic/nuxt tutorial and I have the same issue where it is not updating the Netlify page.