I have a problem with the preview functionality in my app.
I’ve made a repeatable type for “Page” to create all my pages. In my nuxt app I dont want the url to be
mysite.com/page/about-us
but just this:
mysite.com/about-us
so in my menu component I'm using just the UID for the url so it’s just getting that information. Like this:
{{ $prismic.asText(menuLink.link_label) }}
But when I use the preview button in Prismic it tries to go to mysite.com/page/about-us because of the repeatable type "page", which doesn’t exist on my domain then. Any ideas on how to either make the preview point to the correct page?
Hello @daniel.hult, welcome to the community forum!
It appears that there is something missing in your configuration. Maybe in the Link Resolver. There are three steps to set up Previews in a NuxtJS project: