sequel-ice/front-end/src/router.js

24 lines
389 B
JavaScript
Raw Permalink Normal View History

2024-01-04 15:37:42 +08:00
import { createRouter, createWebHistory } from 'vue-router'
import Home from './views/home.vue'
const router = createRouter({
history: createWebHistory(),
routes: [
{
path: '/',
name: 'home',
component: Home
},
{
path: '/about',
name: 'about',
component: () => import('./views/about.vue')
}
]
})
export default router