You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the vite dev server everything works as expected. Both /charts and /favorites lead to their specific pages and everything else is captured by the slug [mode].
However, when deploying the frontend (using ASP.NET Core in this example) the /charts stops working. Its now also captured by the slug, leading to the wrong page.
Reproduction
I have created repo with a minimal reproducible example here: https://github.com/koryphaee/SvelteBug. It should be very easy to reproduce: just clone and run docker compose up.
Describe the bug
I have 3 routes in my app:
/routes/charts/+page.svelte
routes//favorites/+page.svelte
/routes/[mode]/+page.svelte
Using the vite dev server everything works as expected. Both
/charts
and/favorites
lead to their specific pages and everything else is captured by the slug[mode]
.However, when deploying the frontend (using ASP.NET Core in this example) the
/charts
stops working. Its now also captured by the slug, leading to the wrong page.Reproduction
I have created repo with a minimal reproducible example here: https://github.com/koryphaee/SvelteBug. It should be very easy to reproduce: just clone and run
docker compose up
.Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: