Files
filecodebox/fcb-fronted/src/router/index.ts
T
2023-08-11 19:26:49 +08:00

20 lines
414 B
TypeScript

import { createRouter, createWebHashHistory } from 'vue-router';
const router = createRouter({
history: createWebHashHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'home',
component: () => import('@/views/HomeView.vue'),
},
{
path: '/send',
name: 'send',
component: () => import('@/views/SendView.vue'),
},
],
});
export default router;