wanshenmean
2026-02-26 3de39066b5894850d0f0dc311b60cc09f599a025
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;