import { StrictMode } from 'react' import { createRoot } from 'react-dom/client' import App from './App' const root = document.getElementById('root') if (!root) throw new Error('找不到应用根节点') createRoot(root).render( , ) // Signal the static HTML boot guard only after the real app has been mounted. Object.assign(window, { __reactOk: true })