N
Nuxt2y ago
Wontolla

vue-router custom regex with nuxti18n

Hi! How can i use ? Something like this. This doesn't work
defineI18nRoute({
locales: ['it', 'en', 'de'],

paths: {
it: '/blog/:page(\\d+)',
de: '/blog/:page(\\d+)',
en: '/blog/:page(\\d+)'
}
})
defineI18nRoute({
locales: ['it', 'en', 'de'],

paths: {
it: '/blog/:page(\\d+)',
de: '/blog/:page(\\d+)',
en: '/blog/:page(\\d+)'
}
})
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server