leaf icon indicating copy to clipboard operation
leaf copied to clipboard

MVC setup for production getting Vite manifest not found at: /build/build/manifest.json

Open juanulis3s opened this issue 1 year ago • 2 comments

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

  1. Setup an MVC app
  2. Setup ENV production variables
  3. Execute command leaf view:build
  4. 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?

juanulis3s avatar Feb 19 '24 03:02 juanulis3s