I'm using Prismic with Nuxt.js, and I want to get rid of the purple button that shows up on the bottom of my page during development.
I read in this Github thread that setting preview: false
on my nuxt.config.js
file would remove this button. So last night I updated my config to
prismic: {
endpoint: 'https://xxx.yyy.zzz',
modern: true,
preview: false
},
The purple button disappeared (yay!), but my data froze at this point, no longer showing the latest updates I publish. When I look at my API response JSON file, it says last_publication_date"2021-12-08T23:05:40+0000"
, which was yesterday, right before I disabled the preview button. Removing preview: false
once again fetches the latest data as expected.
Is this a known bug, or expected behavior? How can I remove that button while still getting my latest published data?