smc/src/router.ts

14 lines
266 B
TypeScript
Raw Normal View History

2022-09-28 14:24:25 +00:00
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
const routes: RouteRecordRaw[] = [
{
path: '/',
component: () => import('@/pages/home.vue')
}
]
export const router = createRouter({
history: createWebHistory(),
routes
})