-
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.
Answered by
Stiropor
Nov 2, 2022
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.
0 replies
Answer selected by
Stiropor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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):