左侧栏初步

This commit is contained in:
禺狨
2023-03-02 11:39:06 +08:00
parent 3dff7f139d
commit 37c5756866
17 changed files with 452 additions and 44 deletions

View File

@@ -3,15 +3,20 @@ import ReactDOM from "react-dom/client";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
import { BrowserRouter } from "react-router-dom";
import "./utils/axios";
import { Provider } from "react-redux";
import store from "./store/store";
const root = ReactDOM.createRoot(
document.getElementById("root") as HTMLElement
);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
<Provider store={store}>
<BrowserRouter>
<App />
</BrowserRouter>
</Provider>
);
// If you want to start measuring performance in your app, pass a function