sel
(Sel-Vin Kuik)
1
I'm having trouble getting previews to work only for my draft posts. Published posts work fine.
I'm using @nuxtjs/prismic: ^1.2.4
and deploying to Netlify using yarn generate
.
My nuxt.config.js
includes the lines:
export default {
head: {
script: [
{
src: "https://static.cdn.prismic.io/prismic.js?new=true&repo=ventur"
}
]
},
...
And this is how my previews are set up in Prismic.
Fares
3
Hi @sel,
Thanks for reaching out.
In fact, setting preview in Nuxt normally is pretty straightforward with the help of the Prismic-Nuxt preview module.
For me, if you can preview changes in published documents, then the issue can be related to a missing 404 fallback such as:
You can also check our troubleshooting thread for more information:
https://community.prismic.io/t/troubleshooting-previews
And please don't hesitate to reach back to us if you still have further inquires,
Fares
1 Like
system
(system)
closed as resolved, flag & select 'Something Else' to reopen.
4
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.