index.js 404 B

123456789101112131415161718
  1. import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router';
  2. const router = createRouter({
  3. history: createWebHashHistory('./'),
  4. routes: [
  5. {
  6. path: '',
  7. redirect: '/DataCenterGis'
  8. },
  9. {
  10. path: '/DataCenterGis',
  11. name: 'DataCenterGis',
  12. component: () => import('../views/DataCenterGis/DataCenterGis.vue')
  13. }
  14. ]
  15. });
  16. export default router;