mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-21 22:09:16 +08:00
[Build] reduce dev log (#1063)
This commit is contained in:
parent
3b57e33654
commit
b1142fd862
@ -19,6 +19,9 @@ module.exports = {
|
||||
host: '0.0.0.0',
|
||||
dev: {
|
||||
logLevel: 'warn'
|
||||
},
|
||||
hot: {
|
||||
logLevel: 'warn'
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
|
@ -29,6 +29,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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user