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
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
:paramName doesn't match URL segments containing dot '.' in react proect with vitejs but works fine with npx create-react-app react app.
Reproduction
suppose we have a route <Route path="/user/pass/reset/:token" component={Reset} />
Now if we visit http://localhost:3000/user/pass/reset/abc.xyz it shows page not found in the project with vitejs but works fine in create-react-app.
System Info
vite version: 2.0.5
Operating System: Ubuntu 20.04
Node version: 14
Package manager (npm/yarn/pnpm) and version: npm
Logs (Optional if provided reproduction)
Run vite or vite build with the --debug flag.
Provide the error log here.
The text was updated successfully, but these errors were encountered:
Describe the bug
:paramName doesn't match URL segments containing dot '.' in react proect with vitejs but works fine with npx create-react-app react app.
Reproduction
suppose we have a route
<Route path="/user/pass/reset/:token" component={Reset} />
Now if we visit
http://localhost:3000/user/pass/reset/abc.xyz
it shows page not found in the project with vitejs but works fine in create-react-app.System Info
vite
version: 2.0.5Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: