ScoDocMobile/src/index.js

21 lines
620 B
JavaScript
Raw Permalink Normal View History

import React from 'react';
import ReactDOM from 'react-dom';
2021-04-29 14:18:26 +02:00
import {BrowserRouter} from "react-router-dom";
import reportWebVitals from './reportWebVitals';
2021-04-29 14:18:26 +02:00
import Main from "./main";
import 'bootstrap/dist/css/bootstrap.min.css'
2021-05-10 17:27:18 +02:00
window.$api_url = '/ScoDoc/' // Global variable
ReactDOM.render(
2021-04-29 14:18:26 +02:00
<BrowserRouter>
<Main />
</BrowserRouter>,
document.getElementById('root')
);
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();