mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 11:42:21 +08:00
25 lines
596 B
TypeScript
25 lines
596 B
TypeScript
/// <reference types="vite/client" />
|
|
/// <reference types="vite-plugin-svgr/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";
|
|
import "./services/i18n";
|
|
|
|
enhance.setup();
|
|
|
|
ReactDOM.render(
|
|
<React.StrictMode>
|
|
<RecoilRoot>
|
|
<BrowserRouter>
|
|
<Layout />
|
|
</BrowserRouter>
|
|
</RecoilRoot>
|
|
</React.StrictMode>,
|
|
document.getElementById("root")
|
|
);
|