-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
Router: Route config for named nested routes is not generated correctly #273
Comments
Thanks @markostanimirovic. I think this should be supported also. This was also brought up in the Analog Discord |
Hello, I am having trouble creating a route with the scheme: |
@yassernasc that should be supported, but its a separate issue. Its a bug in the replacement for the paths https://github.com/analogjs/analog/blob/main/packages/router/src/lib/routes.ts#L51 Only the first period is being replaced. |
I see, thank you for pointing out the exact location to debug. |
Which area/package is the issue in?
router
Description
If the
routes
directory has the following structure:Navigation to
/users/create
will not work. As a workaround, we can use 'dot' notation:I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: