wanshenmean
2026-03-13 ca2e8a7c3c9ead9a646646a1175f812ed55d14d2
1
2
3
4
5
6
7
8
9
10
11
12
import { createRouter, createWebHistory } from 'vue-router';
import { routes } from './routes';
import { setupRouterGuard } from './guard';
 
const router = createRouter({
  history: createWebHistory(),
  routes,
});
 
setupRouterGuard(router);
 
export default router;