vitejs treats *.html
path as path to system files
#10717
Labels
duplicate
This issue or pull request already exists
*.html
path as path to system files
#10717
Describe the bug
This is not necessarily an error. I am using vitejs and vue-router. i have a router like this
/anime/:name.html
when i go tolocahost:9000/anime/oregiru.html
vitejs processes this path and tries to find the file/anime/oregiru.html
in my systemI want to somehow exclude my routers so that vitejs don't process them or disable vitejs' html resolution (except index.html)
Reproduction
https://stackblitz.com/edit/vitejs-vite-8bq1hk?file=src%2FApp.vue
Steps to reproduce
Oregairu
in previewSystem Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: