Commit 63ad0fc2 authored by Pan's avatar Pan

refine code

parent 80a28173
...@@ -27,6 +27,8 @@ Vue.component('Sticky', Sticky); ...@@ -27,6 +27,8 @@ Vue.component('Sticky', Sticky);
Vue.use(ElementUI); Vue.use(ElementUI);
Vue.use(vueWaves); Vue.use(vueWaves);
Vue.config.productionTip = false;
// register global utility filters. // register global utility filters.
Object.keys(filters).forEach(key => { Object.keys(filters).forEach(key => {
Vue.filter(key, filters[key]) Vue.filter(key, filters[key])
...@@ -112,9 +114,11 @@ if (process.env === 'production') { ...@@ -112,9 +114,11 @@ if (process.env === 'production') {
// })(console.error); // })(console.error);
new Vue({ new Vue({
el: '#app',
router, router,
store, store,
render: h => h(App) template: '<App/>',
}).$mount('#app'); components: { App }
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment