How can we deploy bagisto application?
I want to deploy the application, and in
.envfile i've made like
This will make laravel application in production mode where as for
Vue.config.devtools = false; Vue.config.debug = false; Vue.config.silent = true;
But in console tab, it shows your application is in development mode for vue components.
- Make sure
- Always use
npm run prodwhen you are compiling assets.
- Lastly for double check you already told about that.
- Make sure
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
devansh-webkul last edited by devansh-webkul
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
Make sure you run
npm run prodin velocity pacakge first and then place these publishables manually in public,
Thank you that helped.