Local development, reproduction here: https://github.com/markmals/analog-router-bug-reproduction
router
The router doesn't display the index route's template (<h2>
) nested in the root route via the <router-outlet>
and throws an error when you try to navigate to /docs/:name
(e.g. /docs/foo
)
ERROR Error: Uncaught (in promise): Error: NG04002: Cannot match any routes. URL Segment: 'docs/foo'
Error: NG04002: Cannot match any routes. URL Segment: 'docs/foo'
Also tested with docs.[name].ts
(as opposed to docs/[name].ts
), neither works
It's still not rendering the index route and I also tested it with docs.[name].ts
, which gave me the same error. I updated the reproduction to reflect this: https://github.com/markmals/analog-router-bug-reproduction
Your repo is using an older version of @analogjs/router
https://github.com/markmals/analog-router-bug-reproduction/blob/main/package.json#L10
If I update it to latest 0.1.0-alpha.4
it works correctly
Owner Name | analogjs |
Repo Name | analog |
Full Name | analogjs/analog |
Language | TypeScript |
Created Date | 2022-07-06 |
Updated Date | 2023-03-28 |
Star Count | 885 |
Watcher Count | 18 |
Fork Count | 67 |
Issue Count | 33 |
Issue Title | Created Date | Updated Date |
---|