-
I'm experiencing this weird problem (Nuxt3 rc11) that used to work in parsePages: false,
pages: {
news: {
en: '/news',
sl: '/novice'
},
'news-slug': {
en: '/news/:slug',
sl: '/novice/:slug'
},
'propershop-category': {
en: '/category/:slug',
sl: '/kategorija/:slug'
}
} yet somehow these are my routes found: There are more routes in my config, there seems to be a problem whenever pages' key includes a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For anyone having same issue, this is the solution that works now (also for modules, news: {
en: '/news',
sl: '/novice'
},
'news/:slug': {
en: '/news/:slug',
sl: '/novice/:slug'
},
'category/:slug': {
en: '/category/:slug',
sl: '/kategorija/:slug'
} |
Beta Was this translation helpful? Give feedback.
For anyone having same issue, this is the solution that works now (also for modules,
name
attribute somehow doesn't work anymoe,path
fromnuxt.hook('pages:extend', ...)
has to be used now):