How can we deploy bagisto application?
-
Yeah, I've done so.
But still, it says 'You are running Vue in development mode.
' for vue part -
Did you publish your package?
-
How to do that? npm run build doesnot work with bagisto application.
-
did you got any solution
please help me you got any solution -
I didn't ask about the main. I am just asking did you run the command,
php artisan vendor:publish --all
If you have not customized anything then you can run this also,
php artisan vendor:publish --all --force
(Please make sure, if you have not customized then run otherwise place your updated changes manunally.)And one more thing I have checked your issue in a production environment, I am not getting the dev mode message in console.
-
Of course, I've done many customization as per the requirement of my application. I've changed many files after publishing with vendor:publish cmd.
-
Just make sure you put your compiled production file manually.
-
Sorry I don't get it. What type of compiled production? Would you please mention some important files to check for production?
-
On which theme are you working?
-
the default one : Velocity
-
These are the files,
https://github.com/bagisto/bagisto/tree/master/packages/Webkul/Velocity/publishable/assets/cssMake sure you run
npm run prod
in velocity pacakge first and then place these publishables manually in public,
https://github.com/bagisto/bagisto/tree/master/packages/Webkul/Velocity/publishable/assets/css -
Thank you that helped.