import { createBrowserRouter, RouteObject } from 'react-router-dom';
import { RouteObjectType, routes } from '~/router/router';

// 导出路由表
export const router = createBrowserRouter(routes);
// 路由表类型
export type routerItem = RouteObject & RouteObjectType;
