refine code
This commit is contained in:
parent
80a281733a
commit
63ad0fc2f5
1 changed files with 6 additions and 2 deletions
|
@ -27,6 +27,8 @@ Vue.component('Sticky', Sticky);
|
|||
Vue.use(ElementUI);
|
||||
Vue.use(vueWaves);
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
|
||||
// register global utility filters.
|
||||
Object.keys(filters).forEach(key => {
|
||||
Vue.filter(key, filters[key])
|
||||
|
@ -112,9 +114,11 @@ if (process.env === 'production') {
|
|||
// })(console.error);
|
||||
|
||||
new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
store,
|
||||
render: h => h(App)
|
||||
}).$mount('#app');
|
||||
template: '<App/>',
|
||||
components: { App }
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue