Design
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
component: () => import('/src/pages/index.vue'),
|
||||
name: 'Index',
|
||||
},
|
||||
{
|
||||
path: '/about',
|
||||
component: () => import('/src/pages/about.vue'),
|
||||
name: 'About',
|
||||
},
|
||||
]
|
||||
|
||||
export const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes,
|
||||
})
|
||||
Reference in New Issue
Block a user