🎨 build framework completed
This commit is contained in:
11
src/router/router.ts
Normal file
11
src/router/router.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import {createRouter, createWebHistory, RouteRecordRaw} from 'vue-router'
|
||||
|
||||
import login from './modules/login'
|
||||
|
||||
const routes: Array<RouteRecordRaw> = [...login]
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes
|
||||
})
|
||||
export default router
|
Reference in New Issue
Block a user