import "@/router/reactActivationSetup"; import "@arco-design/web-react/dist/css/arco.css"; import "@/index.css"; import "@/i18n"; import "@/utils/globalCn"; import { createRoot } from "react-dom/client"; import { AliveScope } from "react-activation"; import { RouterProvider } from "react-router-dom"; import { router } from "@/router"; import { applyExternalTokenFromUrl } from "@/utils/externalLoginFromUrl"; import "@/assets/styles/font.css"; import App from "@/App"; applyExternalTokenFromUrl(); const root = document.getElementById("root"); if (!root) { throw new Error("Root element not found"); } createRoot(root).render( <> , );