12345678910111213141516171819202122 |
- import { RouteRecordRaw, createRouter, createWebHistory } from 'vue-router'
- import shipTestRouter from "./ship-test";
- const routes = [
- {
- path: '/',
- component: () => import('@/views/index.vue'),
- },
- {
- path: '/auth',
- name: 'auth',
- component: () => import('@/views/auth.vue')
- },
- ...shipTestRouter,
- ]
- const router = createRouter({
- history: createWebHistory(),
- routes,
- });
- export default router;
|