组件封装
This commit is contained in:
@@ -3,23 +3,18 @@ import { createRouter, createWebHistory } from 'vue-router';
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'IndexV2',
|
||||
component: () => import('@/views/index_v2.vue')
|
||||
},
|
||||
{
|
||||
path: '/index',
|
||||
name: 'Index',
|
||||
component: () => import('@/views/index.vue')
|
||||
},
|
||||
{
|
||||
path: '/package-station',
|
||||
name: 'PackageStation',
|
||||
component: () => import('@/views/PackageStation.vue')
|
||||
path: '/login',
|
||||
name: 'Login',
|
||||
component: () => import('@/views/login.vue')
|
||||
},
|
||||
{
|
||||
path: '/sse-test',
|
||||
name: 'SSETest',
|
||||
component: () => import('@/views/sse/sse-test.vue')
|
||||
path: '/package-station',
|
||||
name: 'PackageStation',
|
||||
component: () => import('@/views/package-station/index.vue')
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user