tianji/src/client/main.tsx

13 lines
252 B
TypeScript
Raw Normal View History

2023-08-31 16:11:47 +00:00
import './index.css';
2023-08-31 13:17:57 +00:00
2023-08-31 16:11:47 +00:00
import React from 'react';
import ReactDOM from 'react-dom/client';
2023-08-31 13:17:57 +00:00
2023-08-31 16:11:47 +00:00
import App from './App';
2023-08-31 13:17:57 +00:00
2023-08-31 16:11:47 +00:00
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
2023-08-31 13:17:57 +00:00
<React.StrictMode>
<App />
</React.StrictMode>
);