0👍
Two issues:
- You currently have
extendRoutes
under a nestedrouter
property, which doesn’t exist. Move it to the top-levelrouter
prop:
router: {
//router: { // DON'T DO THIS
// extendRoutes() {...}
//},
extendRoutes() {...}
}
- The path property must start with a leading slash for non-nested routes:
routes.push({
// path: 'here-i-am' // DON'T DO THIS
path: '/here-i-am'
})
Source:stackexchange.com