src/router/index.ts
@@ -5,7 +5,7 @@ const routes: Array<RouteRecordRaw> = [ // { path: '/', name: 'Home', component: () => import('@/views/home/index.vue')}, { path: '/', name: 'test', component: () => import('@/views/home/index.vue')}, { path: '/', name: 'login', component: () => import('@/views/login/index.vue')}, ] const router = createRouter({