✨ add dark mode
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
import {createRouter, createWebHistory, RouteRecordRaw} from 'vue-router'
|
||||
import {createRouter, createWebHistory, RouteRecordRaw} from 'vue-router';
|
||||
|
||||
import login from './modules/login'
|
||||
import login from './modules/login';
|
||||
import test from "@/router/modules/test.ts";
|
||||
|
||||
const routes: Array<RouteRecordRaw> = [...login]
|
||||
|
||||
const routes: Array<RouteRecordRaw> = [
|
||||
...login,
|
||||
...test
|
||||
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes
|
||||
})
|
||||
export default router
|
||||
});
|
||||
export default router;
|
||||
|
Reference in New Issue
Block a user