-
Notifications
You must be signed in to change notification settings - Fork 462
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
[Bug Report] Breaks when you have extendRoutes defined #52
Comments
Hi @martinrisseeuw, thanks for reporting this! This issue should be fixed in v2.9.1, hope you can give it a try! |
@paulgv Great it works. Thanks a lot! |
@paulgv I have updated the library to 4.0.1 because I wanted to have the custom routes functionality within page components. Unfortunately it looks like that this fix is broken? It seems that extendRoutes in my nuxt.config are ignored. Have you experienced this issue before and have a solution for it? If not I can go back to v2.9.1 and add the routing in the module settings. |
I can confirm that this is broken on v4.1.0. I receive the error:
|
This reapplies fix from v2.9.1 which fixes *TypeError: Cannot read property 'replace' of undefined* when `extendRoutes` is defined in Nuxt's config Fixes #52
Hi guys, sorry about that, looks like the original fix was lost at some point. I re-applied it and released it in version |
This bug-report has been fixed by @paulgv in release v5.0.1. |
First of all great plugin! I found a bug when you define extendRoutes (https://nuxtjs.org/api/configuration-router/#extendroutes) the Nuxt app breaks because of the module. The error it returns in the terminal is as follow:
I created a gist with my Nuxt config: https://gist.github.com/martinrisseeuw/e1ffea12757710c4ff94ef1d95f5cf4b
Do you maybe have a solution or workaround that I can use the module?
The text was updated successfully, but these errors were encountered: