Skip to content
Snippets Groups Projects
Commit 63ad0fc2 authored by Pan's avatar Pan
Browse files

refine code

parent 80a28173
No related branches found
No related tags found
No related merge requests found
......@@ -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 }
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment