migrate frontend

This commit is contained in:
LeeShuang
2021-12-08 23:43:52 +08:00
parent 2f72bfa946
commit 06bffd0ba5
145 changed files with 11409 additions and 0 deletions

17
web/src/main.tsx Normal file
View File

@ -0,0 +1,17 @@
import React from "react";
import ReactDOM from "react-dom";
import Provider from "./labs/Provider";
import appContext from "./stores/appContext";
import appStore from "./stores/appStore";
import App from "./App";
import "./helpers/polyfill";
import "./less/global.less";
ReactDOM.render(
<React.StrictMode>
<Provider store={appStore} context={appContext}>
<App />
</Provider>
</React.StrictMode>,
document.getElementById("root")
);