wanshenmean
2026-03-17 7a2d709d935075bcdc48e0f3f0ae9f4641663b9f
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;