diff --git a/src/router/index.js b/src/router/index.js index a4542f78..f37491f8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -107,9 +107,10 @@ const routes = [ const router = new VueRouter({ mode: 'history', - // base: process.env.BASE_URL, + base: process.env.BASE_URL, routes }) + router.beforeEach(function (to, form, next) { if (to.meta.title) { document.title = to.meta.title