1.修改大屏副屏结构
This commit is contained in:
2023-12-06 17:14:18 +08:00
parent 89107d019d
commit 3b9b1d67fc
5 changed files with 261 additions and 7 deletions
+21
View File
@@ -0,0 +1,21 @@
import { createRouter, createWebHistory, Router, RouteRecordRaw } from 'vue-router';
const routes: Array<RouteRecordRaw> = [
{
path: '/',
name: '首页',
component: () => import('/@/views/index.vue'),
// component: () => import('/@/views/mobile/index.vue'),
},
{
path: '/indexSon',
name: '副屏',
component: () => import('/@/views/indexSon.vue'),
},
];
const router: Router = createRouter({
history: createWebHistory('/'),
routes: [...routes],
});
export default router;