2025-02-27 06:54:19 +08:00
|
|
|
import { StrictMode } from 'react';
|
|
|
|
import { createRoot } from 'react-dom/client';
|
|
|
|
import './styles/base.scss';
|
|
|
|
import App from './App.jsx';
|
|
|
|
import { BrowserRouter } from 'react-router-dom';
|
2025-03-01 04:03:06 +08:00
|
|
|
import 'bootstrap';
|
|
|
|
import { Provider } from 'react-redux';
|
|
|
|
import store, { persistor } from './store/store.js';
|
|
|
|
import { PersistGate } from 'redux-persist/integration/react';
|
|
|
|
import Loading from './components/Loading.jsx';
|
2025-04-24 06:48:28 +08:00
|
|
|
import './styles/style.scss';
|
2025-02-27 06:54:19 +08:00
|
|
|
|
|
|
|
createRoot(document.getElementById('root')).render(
|
2025-03-20 01:06:52 +08:00
|
|
|
// <StrictMode>
|
2025-03-01 04:03:06 +08:00
|
|
|
<PersistGate loading={<Loading />} persistor={persistor}>
|
|
|
|
<BrowserRouter>
|
|
|
|
<Provider store={store}>
|
|
|
|
<App />
|
|
|
|
</Provider>
|
|
|
|
</BrowserRouter>
|
|
|
|
</PersistGate>
|
2025-03-20 01:06:52 +08:00
|
|
|
// </StrictMode>
|
2025-02-27 06:54:19 +08:00
|
|
|
);
|