调整应用启动加载顺序。

This commit is contained in:
徐涛 2024-12-25 09:27:44 +08:00
parent 0e4da6a3e0
commit 8222cfc2e9

View File

@ -1,10 +1,13 @@
import { StrictMode } from 'react' // Boot styles
import { createRoot } from 'react-dom/client' import './index.css';
import './index.css'
import App from './App.tsx' // Boot scripts
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { App } from './App.tsx';
createRoot(document.getElementById('root')!).render( createRoot(document.getElementById('root')!).render(
<StrictMode> <StrictMode>
<App /> <App />
</StrictMode>, </StrictMode>,
) );