-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃悶] Dynamic params in url [...id] breaks the app #2262
Comments
Start a new pull request in StackBlitz Codeflow. |
Still present on @robisim74 i was able to workaround it by changing the vite config for qwikCity by disabling the
thanks a lot for creating this issue and your debugging @robisim74 馃檹 |
@zanettin Thanks for the workaround, it works! But it's not clear what we're disabling and if it can have any other side effects |
@robisim74 totally agree! if your app is on prod my suggestion would be to stay on i am not a core team member, so just can tell you what i see based on the mentioned PRs and my personal experience 馃槃 i have two test apps currently. one w/o catchall routes which works just fine with the upgrade. the only thing that changed is, that all routes now have a trailing slash in the url ( on my second app w/ catch all routes defined, i've disabled the option as mentioned before and deployed it to cloudflare pages which seems to work as before. |
Thanks for opening the issue. It looks like there was an incorrect 302 redirect for the vite client file, which has been fixed as of Qwik City 0.0.127. Thanks |
@adamdbradley The problem is still present in Qwik City 0.0.127. Please, see the repro: https://stackblitz.com/edit/qwik-starter-qkvafb |
Solved in Qwik City 0.0.128. Maybe a typo. Thanks |
@robisim74 @adamdbradley i have this behaviour on w/
|
@zanettin Yes, with |
@robisim74 thanks for checking 馃檹 can confirm that as well. Just the home is affected 馃憤 i'll create a new issue for this 馃檹 |
Which component is affected?
Qwik City (routing)
Describe the bug
With the latest versions, Qwik 0.14.0 and QwikCity 0.0.125, an app with a dynamic route segment is completely broken.
If you see in browser console you will find this error:
It doesn't find
node_modules/vite/dist/client/env.mjs/
, and consequently it is unable to load any client files.Reproduction
https://stackblitz.com/edit/qwik-starter-qkvafb
Steps to reproduce
Once the app has started, see in the browser console, after the web container errors.
Every interaction doesn't work.
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: