|
|
@@ -8,8 +8,12 @@ Vue.use(VueRouter) |
|
|
|
//创建路由 |
|
|
|
// console.log(PageRouter,ViewsRouter,'123') |
|
|
|
// console.log(Store) |
|
|
|
console.log(process.env.BASE_URL,123); |
|
|
|
export const createRouter = () => new VueRouter({ |
|
|
|
// mode:'history', |
|
|
|
// base:'/wel/index', |
|
|
|
routes: [...PageRouter, ...ViewsRouter] |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
const Router = createRouter() |
|
|
|