2026-01-04 19:14:20 +08:00
|
|
|
import React from 'react';
|
2026-07-20 19:00:08 +08:00
|
|
|
import { Inspector } from 'react-dev-inspector';
|
2026-01-04 19:14:20 +08:00
|
|
|
import ReactDOM from 'react-dom/client';
|
|
|
|
|
import '../tailwind.css';
|
|
|
|
|
import App from './app';
|
|
|
|
|
import './global.less';
|
2026-02-13 18:40:41 +08:00
|
|
|
import { initLanguage } from './locales/config';
|
2026-01-04 19:14:20 +08:00
|
|
|
|
2026-02-13 18:40:41 +08:00
|
|
|
initLanguage().then(() => {
|
|
|
|
|
ReactDOM.createRoot(document.getElementById('root')!).render(
|
|
|
|
|
<React.StrictMode>
|
2026-07-20 19:00:08 +08:00
|
|
|
<Inspector keys={['alt', 'c']} />
|
2026-02-13 18:40:41 +08:00
|
|
|
<App />
|
|
|
|
|
</React.StrictMode>,
|
|
|
|
|
);
|
|
|
|
|
});
|