system-copyright-react/src/main.tsx

15 lines
469 B
TypeScript
Raw Normal View History

2024-03-11 19:13:42 +08:00
import ReactDOM from 'react-dom/client'
import App from './App.tsx'
2025-05-07 14:25:17 +08:00
// import './index.css
import '@theme/css/index.css'
2024-04-12 14:12:38 +08:00
import {StyleProvider, legacyLogicalPropertiesTransformer} from "@ant-design/cssinjs";
2024-03-11 19:13:42 +08:00
ReactDOM.createRoot(document.getElementById('root')!).render(
2024-04-12 14:12:38 +08:00
<StyleProvider hashPriority="high" transformers={[legacyLogicalPropertiesTransformer]}>
2024-03-19 19:19:07 +08:00
<App/>
2024-04-12 14:12:38 +08:00
</StyleProvider>
2024-03-19 19:19:07 +08:00
// <React.StrictMode>
// <App/>
// </React.StrictMode>,
2024-03-11 19:13:42 +08:00
)