-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
slumericanBx/vite
#1Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
- Read the docs.
- 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.
- This is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
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
viteversion: 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
viteorvite buildwith the--debugflag. - Provide the error log here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists