Checkout Jeffrey's answer on another post: https://laracasts.com/discuss/channels/elixir/remove-vue-devtools-messages-on-gulp-production-specifically-in-spark
Jul 13, 2016
1
Level 16
Disable Vue.config.debug in Spark on gulp --production or 'APP_ENV' = 'production'
I'd like to disable all vue devtools in production environment of spark. I run ``gulp --production` but all vue debugging info is still there. My question is: HOW do I remove it for production only?
It seems Vue.config.debug = true; is hardcoded in the vendor files here: vendor\laravel\spark\resources\assets\js\vue-bootstrap.js
Also there are two other configuration settings that seem to have some relevance (not sure what exactly the differences are so far)
Vue.config.devtools = false
Vue.config.silent = true
Where can I set these to overwrite the spark defaults without touching the vendor files (I don't want to break update-ability)?
Level 16
Please or to participate in this conversation.