This commit is contained in:
17
src/config/router/routes.ts
Normal file
17
src/config/router/routes.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import type { Component } from 'vue'
|
||||
|
||||
interface Route {
|
||||
path: string
|
||||
name: string
|
||||
component: () => Promise<Component>
|
||||
}
|
||||
|
||||
const routes: Route[] = [
|
||||
{
|
||||
path: '/',
|
||||
name: '/',
|
||||
component: () => import('@/pages/mainPage/indexPage.vue'),
|
||||
},
|
||||
]
|
||||
|
||||
export default routes
|
Reference in New Issue
Block a user