leaf
leaf copied to clipboard
MVC setup for production getting Vite manifest not found at: /build/build/manifest.json
Describe the bug
I am using leaf MVC.
The app is ready and I am trying to setting this up for deploy on a cpanel server.
When setting up the app with leaf view:build it seems something is failing.
To Reproduce
- Setup an MVC app
- Setup ENV production variables
- Execute command
leaf view:build - Upload to server and you will see
Vite manifest not found at: /build/build/manifest.json
Is there a way to setup the env file for production? Am I missing a step?