解决vue在开发模式下警告 You are running Vue in development mode.

阻止你显示显示生产模式的消息
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.html

加入 Vue.config.productionTip = false;//屏蔽提示信息

Vue.config.productionTip = false;//屏蔽提示信息
new Vue({
        el:"#app",
        data:{
            flag:true
        }
    })

你可能感兴趣的:(vue,JavaScript)