wanshenmean
2026-02-09 ae9517420d848e215a9eb807270d5ef6fbe92ae9
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;