We have a newly launched static Nuxt.js site and preview is working just fine for edits to existing pages.
Today we are trying to preview a new blog post before making it live, but:
- clicking the preview option from Prismic takes us to the wrong URL (it should be /blog/page but it takes us to /page)
- browsing to the correct page URL only displays the footer (no page content)
- manually URL hacking (rather than browsing the site) to the correct URL displays a standard 404 error page
Is it possible to preview content for an entirely new page on a statically generated Nuxt.js site, or do we have the wrong expectations about that in the first place?
Previewing an edit to an existing blog post works fine apart from the preview link takes us to the wrong URL originally; but URL hacking that to the correct URL shows the preview as expected.