Build better business applications, faster. No more juggling REST endpoints or deciphering GraphQL queries. Hilla seamlessly connects Spring Boot and React to accelerate application development.
Both views/a/{id}/@index.tsx and views/a/{id}.tsx would be mapped to the same /a/1234 route. The difference is that views/a/{id}/@index.tsx gets a menu entry with the URL /a/:id which doesn't work.
Expected-behavior
Expected that a view with a required parameter is not included in the menu regardless of which file structure is used.
Reproduction
Create views/a/{id}/@index.tsx with some dummy content
Describe the bug
Both
views/a/{id}/@index.tsx
andviews/a/{id}.tsx
would be mapped to the same/a/1234
route. The difference is thatviews/a/{id}/@index.tsx
gets a menu entry with the URL/a/:id
which doesn't work.Expected-behavior
Expected that a view with a required parameter is not included in the menu regardless of which file structure is used.
Reproduction
views/a/{id}/@index.tsx
with some dummy contentSystem Info
Vaadin 24.5.2