This commit is contained in:
zk
2023-12-11 09:57:38 +08:00
parent bad6f793de
commit 4a616ed1c8
3 changed files with 26 additions and 12 deletions
+9 -4
View File
@@ -3,13 +3,18 @@ import { createRouter, createWebHistory, Router, RouteRecordRaw } from 'vue-rout
const routes: Array<RouteRecordRaw> = [
{
path: '/',
name: '首页',
name: 'index',
meta: {
title: '首页',
},
component: () => import('/@/views/index.vue'),
// component: () => import('/@/views/mobile/index.vue'),
},
{
path: '/indexSon',
name: '副屏',
path: '/secondScreen',
name: 'secondScreen',
meta: {
title: '副屏',
},
component: () => import('/@/views/indexSon.vue'),
},
];