Last change
on this file since e5b84dc was e5b84dc, checked in by Marko <Marko@…>, 2 years ago |
Prototype version
|
-
Property mode
set to
100644
|
File size:
600 bytes
|
Rev | Line | |
---|
[dfd5d87] | 1 | import React from 'react';
|
---|
| 2 | import ReactDOM from 'react-dom/client';
|
---|
| 3 | import './index.css';
|
---|
| 4 | import App from './App';
|
---|
| 5 | import reportWebVitals from './reportWebVitals';
|
---|
[e5b84dc] | 6 | import Data from './components/DataManager';
|
---|
[dfd5d87] | 7 |
|
---|
[e5b84dc] | 8 | window.Data = Data;
|
---|
[dfd5d87] | 9 | const root = ReactDOM.createRoot(document.getElementById('root'));
|
---|
| 10 | root.render(
|
---|
| 11 | <React.StrictMode>
|
---|
| 12 | <App />
|
---|
| 13 | </React.StrictMode>
|
---|
| 14 | );
|
---|
| 15 |
|
---|
| 16 | // If you want to start measuring performance in your app, pass a function
|
---|
| 17 | // to log results (for example: reportWebVitals(console.log))
|
---|
| 18 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
---|
| 19 | reportWebVitals();
|
---|
Note:
See
TracBrowser
for help on using the repository browser.