import { Spin } from "@arco-design/web-react";
import { Suspense } from "react";
import { Route, Routes, useNavigate } from "react-router-dom";
import "./assets/base.less";
import Nav from "./components/Nav";
import { commonRouters, lazyRouters } from "./router";
import { Guard } from "./router/Guard";
function App() {
return (
<>
{commonRouters.map((router) => (
{router.element}}
/>
))}
{lazyRouters.map((router) => (
}>
{}
}
/>
))}
404} />
>
);
}
export default App;