Router: Route config for named nested routes is not generated correctly

This issue has been tracked since 2023-02-20.

Which area/package is the issue in?

router

Description

If the routes directory has the following structure:

/routes
  /users
    create.ts

Navigation to /users/create will not work. As a workaround, we can use 'dot' notation:

/routes
  users.create.ts

I would be willing to submit a PR to fix this issue

  • Yes
  • No
brandonroberts wrote this answer on 2023-02-27

Thanks @markostanimirovic. I think this should be supported also.

This was also brought up in the Analog Discord

More Details About Repo
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

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date