北京经济技术开发区经开区虚拟城市项目-【前端】--政府服务中心-1号屏Web
AdaKing88
2023-10-06 46b57efb47114c89f1c5cac0b4f14af7c396612f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
Vue.use(Router)
const routes = [
  {
    path: '/',
    redirect: "index",
  },
  {
    path: '/index',
    name: 'index',
    component: index
  },
];
const router = new Router({
  mode: "history",
  // base: '/TEST',
  routes,
});
router.beforeEach((to, from, next) => {
  next();
})
export default router;