Turn off the annoying Vue production tip
-
As of Quasar version 0.13.2, you can now use a Vue config setting to turn off the (annoying) production tip you see in the console, when working with Quasar in dev mode. You know, this one:
You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.htmlTo get rid of it, all you need is:
Vue.config.productionTip = false
Happy programming!
Scott
-
Thanks! Small but useful tip.
-
can you please let me know where exactly this line of code need to be placed
-
In main.js after
Vue.use(Quasar) // Install Quasar Framework
That is where Iād put it.
Scott
-
what is this quasar framework , actually i got the error same as you posted while working on Vue
-
can you please help me to get rid of this , i already spent half a day to get rid of this and its so annoying
-
Add the line
Vue.config.productionTip = false
in your main.js file before the line with
new Vue
.That should turn off the warning.
Scott