10 lines
281 B
JavaScript
10 lines
281 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom/client';
|
|
import { RouterProvider } from 'react-router-dom';
|
|
import router from "./router/router.js"
|
|
|
|
const root = ReactDOM.createRoot(document.getElementById('root'));
|
|
|
|
root.render(
|
|
<RouterProvider router={router}/>
|
|
); |