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
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
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/core instead.
Describe the bug
Following https://vitejs.dev/guide/build.html#multi-page-app I would expect http://localhost:3020/test1 to return the test1/index.html file, but it returns the index.html. This seems to be caused by the route not being resolved:
vite:resolve 1.08ms /test1 -> null +0ms
in the logs.Building with rollup gives me a correct result as it just builds it to the correct folder.
Reproduction
https://github.com/IAmRGroot/vite-mpa-replication
System Info
Command gives error in Docker container. Using latest Node 16: https://github.com/IAmRGroot/vite-mpa-replication/blob/main/docker-compose.yml and latest npm packages: https://github.com/IAmRGroot/vite-mpa-replication/blob/main/package-lock.json.
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: