Not created extendroutes
See original GitHub issueVersion
nuxt-i18n: 6.12.1 nuxt: 2.12.2
Nuxt configuration
mode:
- universal
Nuxt-i18n configuration
i18n: {
locales: [
{
code: "uk",
iso: "uk-UA",
name: "UA",
file: "uk.json"
},
{
code: "en",
iso: "en-US",
name: "EN",
file: "en.json"
}
],
defaultLocale: "en",
lazy: true,
langDir: "lang/",
detectBrowserLanguage: {
useCookie: true,
cookieKey: "language",
alwaysRedirect: true
},
seo: false
}
Reproduction Link
https://codesandbox.io/s/nuxt-i18n-custom-route-fjeed
What is Expected?
to work extendroutes https://nuxtjs.org/api/configuration-router#extendroutes
What is actually happening?
Update nuxt-i18n with 6.11.1 to 6.12.1, stopped working extendroutes
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
extendRoutes not working in a very confusing way #299
I am using extendRoutes in nuxt.config.js like so: router: ... for its example which essentially created a catch all route at root/:id ....
Read more >The extendRoutes function is not being called in nuxt.config.js
I have found an answer after trying to get rid of parts of the code like @kissu commented. The problem comes from "./modules/cms/build"...
Read more >The router Property - Nuxt
You may want to extend the routes created by Nuxt. You can do so via the extendRoutes option. ... The schema of the...
Read more >API: The router Property - Nuxt.js
You may want to extend the routes created by Nuxt.js. You can do so via the extendRoutes option. Example of adding a custom...
Read more >Creating Dynamic Routes in a Nuxt Application | CSS-Tricks
In this post, we'll be using an ecommerce store demo I built and ... We'll add the ability to add and remove items...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Released
v6.12.2
with the fix.That doesn’t look related to the original issue. I think the component must be an imported component instance and not just a string.