14 lines
266 B
TypeScript
14 lines
266 B
TypeScript
|
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
|
||
|
|
||
|
const routes: RouteRecordRaw[] = [
|
||
|
{
|
||
|
path: '/',
|
||
|
component: () => import('@/pages/home.vue')
|
||
|
}
|
||
|
]
|
||
|
|
||
|
export const router = createRouter({
|
||
|
history: createWebHistory(),
|
||
|
routes
|
||
|
})
|