We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(...)
the following file route:
|-- routes/ |-- product/ |-- (product)about.tsx
is converted to route:
/productabout
expecting:
/product/about
https://stackblitz.com/edit/github-4r8246qf?file=src%2Fapp.tsx
having multiple pages with the same name can be confusing prefixing them with (some name) can help identify them
(some name)
solid-start/packages/start/src/router/routes.ts
Line 39 in 13f68c1
maybe something like this instead?
// remove all `(...)` and then remove multiple slashes to account for (nested) route groups id.replace(/\([^)/]+\)/g, "").replace(/\/+/g, "/")
The text was updated successfully, but these errors were encountered:
()
fix: nested route with escaping resolved incorrectly (solidjs#1829)
c5e4467
before `/routes/nested/(ignored)route0.tsx` resolved to `nestedroute0` now it resolves to `nested/route0`.
fix: nested route with escaping resolved incorrectly (#1829) (#1834)
ffd7cba
Co-authored-by: Atila Fassina <[email protected]> Co-authored-by: Birk Skyum <[email protected]>
Successfully merging a pull request may close this issue.
Duplicates
Latest version
Current behavior 😯
the following file route:
is converted to route:
Expected behavior 🤔
expecting:
Steps to reproduce 🕹
https://stackblitz.com/edit/github-4r8246qf?file=src%2Fapp.tsx
Context 🔦
having multiple pages with the same name can be confusing
prefixing them with
(some name)
can help identify themsolid-start/packages/start/src/router/routes.ts
Line 39 in 13f68c1
maybe something like this instead?
Your environment 🌎
The text was updated successfully, but these errors were encountered: