Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested routes with enabled parsePages having vue-router warning #98

Closed
htchtc052 opened this issue Jun 12, 2018 · 0 comments · Fixed by elrolito/nuxt-i18n#1 or #101
Closed

Nested routes with enabled parsePages having vue-router warning #98

htchtc052 opened this issue Jun 12, 2018 · 0 comments · Fixed by elrolito/nuxt-i18n#1 or #101

Comments

@htchtc052
Copy link

htchtc052 commented Jun 12, 2018

Version

v4.0.0

Reproduction link

https://github.com/htchtc052/nuxt_nested_routes

Steps to reproduce

Create empty nuxt project with nuxt-i18n module. Inside this create page component with child component in related folder.

package.json - (Рабочая область) без названия - Visual Studio Code.png

Run project in dev mode.

What is expected ?

No errors or warnings. Correct auto generated router.js file

What is actually happening?

Warning in console

See error in console like this:

nested__routes - Google Chrome.png

And undefined literal in auto generated router.js

router.js - (Рабочая область) без названия - Visual Studio Code.png

This bug report is available on Nuxt community (#c91)
@ghost ghost added the cmty:bug-report label Jun 12, 2018
elrolito added a commit to elrolito/nuxt-i18n that referenced this issue Jun 20, 2018
This should resolve nuxt-modules#98

Set route name before checking for children, and if children exist, delete the name property from the route.
paulgv pushed a commit that referenced this issue Jun 22, 2018
farnabaz added a commit to farnabaz/i18n-module that referenced this issue Mar 25, 2021
* feat: detect title and description of document

* chore: update markdown files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant