-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Generated ROUTES.ts
breaks with kebab-cased actions in vite-plugin-kit-routes
#858
Comments
ROUTES.ts
breaks with kebab-cased actions in vite-plugin-kit-route
ROUTES.ts
breaks with kebab-cased actions in vite-plugin-kit-routes
Thank you for the report, I'll have a look. Is it common to have actions in |
At least the Svelte docs cleverly avoid multi word actions 😅 I have always used kebab-case in SvelteKit as it feels more web and URL native, but it's not a big deal. I switched to camelCase now to work around this issue, but it's suspicious that it breaks like so |
Could you test on |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@jycouet it looks to be working perfectly now! Awesome 🙌 |
Describe the bug
A fresh SvelteKit project with actions:
Properly generates actions:
But when using kebab-case:
It generates broken
ROUTES.ts
with:Severity
annoyance
Steps to Reproduce the Bug
vite-plugin-kit-route
Reproduction
No response
The text was updated successfully, but these errors were encountered: