Hello all,
I'm trying to setup some routes to a journal post and not having much luck, I've read through the other posts on here and read these docs Define Routes with Nuxt - Prismic
Whenever I seem to set resolvers the whole site 404's, no matter which URL I try to visit.
I set this site up using slice machine
journal_post has a constraint relationship to a journal_category.
Category has a constraint relationship to journal (singleton)
_lang: {
_uid
index
journal: {
index
_category: {
index
_uid
}
}
}
routes: [
{
type: 'journal_post',
path: '/:lang/journal/:category/:uid',
resolvers: {
category: 'journal_category',
journal: 'journal_category.journal'
}
}
]
Do I need to define the resolver for journal above?
Any pointers to where I may be going wrong would be most helpful.
Thanks