You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The single-page routing file references the CommonRouter, uses addRoutes to add dynamic routing, and prompts the page : vue-router.esm.js:16 [vue-router] router.addRoutes() is deprecated and has been removed in Vue Router 4. Use router.addRoute() instead.
Please, next time consider using the Discord server, Discussions (if enabled in this repository), or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂
Version
3.6.5
Reproduction link
codesandbox.io
Steps to reproduce
vue-router.esm.js:16 [vue-router] router.addRoutes() is deprecated and has been removed in Vue Router 4. Use router.addRoute() instead
.Uncaught Error: [vue-router] "path" is required in a route configuration
What is expected?
addRoutes and addRoute One of them is available and error-free
What is actually happening?
There is a warning prompt when using addRoutes, and an error is reported directly when using addRoute
The text was updated successfully, but these errors were encountered: