My nuxt and prismic config
My development
My production
pages/blog/index.vue
Hi @wahabiputra,
Thanks for posting this question! This is a little strange. There are two different ways to add a Link Resolver.
@/plugins/link-resolver.js
.@/app/prismic/link-resolver.js
— and the Slice Machine plugin will register it automatically.However, you've done it differently. So, I'm surprised that this works for you. You could try moving it from @/prismic/link-resolver.js
to @/app/prismic/link-resolver.js
(more instructions here), and see if it still works. If so, that could prevent errors in the future. If it doesn't work, let me know and I'll look into it.
Best,
Sam
Yeah, I just realized it too from my build log that looks like I misplaced it
Move that to @/app/prismic/link-resolver.js
and now everything still seems fine
One of the reasons I don't use @/app/prismic
is because it's seems odd to me, while @/prismic
makes more sense
@wahabiputra That's great to hear that it's working!
Thanks for the feedback about the app/
directory. I'll pass it along to the product team
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.