11 lines
239 B
JavaScript
11 lines
239 B
JavaScript
|
import React from 'react';
|
||
|
import ReactDOM from 'react-dom/client';
|
||
|
import AppRouter from './router';
|
||
|
|
||
|
const root = ReactDOM.createRoot(document.getElementById('root'));
|
||
|
root.render(
|
||
|
<div>
|
||
|
<AppRouter/>
|
||
|
</div>,
|
||
|
);
|