When I take the build from the Laravel project and put it on the server it gives me the following error:
Vite manifest not found at: /home/***/domains/***.com/public/build/manifest.json
And the only solution I found is to create a manifest file in the path as it said. But Laravel sometimes confuses public_html files with the public.
Does anyone know a solution?
There was nothing in vite.config.js to change the directory.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] 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 vuejs/core instead.
Describe the bug
When I take the build from the Laravel project and put it on the server it gives me the following error:
Vite manifest not found at: /home/***/domains/***.com/public/build/manifest.json
And the only solution I found is to create a manifest file in the path as it said. But Laravel sometimes confuses public_html files with the public.Does anyone know a solution? There was nothing in
vite.config.js
to change the directory.Reproduction
npm create vite@latest
Steps to reproduce
System Info
Used Package Manager
npm
Logs
No response
Validations