index.ts 472 B

123456789101112131415161718192021
  1. import { createRouter, createWebHashHistory } from 'vue-router'
  2. import Overview from '../components/Overview.vue'
  3. import ClientConfigure from '../components/ClientConfigure.vue'
  4. const router = createRouter({
  5. history: createWebHashHistory(),
  6. routes: [
  7. {
  8. path: '/',
  9. name: 'Overview',
  10. component: Overview,
  11. },
  12. {
  13. path: '/configure',
  14. name: 'ClientConfigure',
  15. component: ClientConfigure,
  16. },
  17. ],
  18. })
  19. export default router