vehicle-monitor/src/router/modules/home.ts

20 lines
378 B
TypeScript
Raw Normal View History

2025-02-28 20:14:37 +08:00
import type { RouteRecordRaw } from 'vue-router';
import Layout from '@/layout/index.vue';
const routes: RouteRecordRaw[] = [
{
path: '/',
name: '/',
component: Layout,
2025-03-01 20:52:06 +08:00
meta: { transition: 'fade' },
2025-02-28 20:14:37 +08:00
},
{
path: '/smart-parking',
name: 'smartParking',
component: () => import('@/views/smart-parking/index.vue'),
},
];
export default routes;