clash-verge/src/main.tsx
2022-03-06 17:02:29 +08:00

23 lines
520 B
TypeScript

/// <reference types="vite/client" />
import "./assets/styles/index.scss";
import React from "react";
import ReactDOM from "react-dom";
import { RecoilRoot } from "recoil";
import { BrowserRouter } from "react-router-dom";
import Layout from "./pages/_layout";
import enhance from "./services/enhance";
enhance.setup();
ReactDOM.render(
<React.StrictMode>
<RecoilRoot>
<BrowserRouter>
<Layout />
</BrowserRouter>
</RecoilRoot>
</React.StrictMode>,
document.getElementById("root")
);