[Build] reduce dev log (#1063)

This commit is contained in:
neverland
2018-05-14 18:52:23 +08:00
committed by GitHub
parent 3b57e33654
commit b1142fd862
3 changed files with 11 additions and 0 deletions

View File

@@ -24,6 +24,10 @@ router.afterEach(() => {
window.vueRouter = router;
if (process.env.NODE_ENV !== 'production') {
Vue.config.productionTip = false;
}
new Vue({ // eslint-disable-line
render: h => h(App),
router,