src/main.js @@ -15,6 +15,13 @@ Vue.use(ElementUI); Vue.use(Avue); router.beforeEach((to,from,next) =>{ if(to.meta.title){ document.title = to.meta.title } next(); }) new Vue({ render: h => h(App), router,