Last change
on this file since d770228 was 3a58bd6, checked in by Viktor <39170279+Tasevski2@…>, 3 years ago |
Added Frontend
|
-
Property mode
set to
100644
|
File size:
885 bytes
|
Line | |
---|
1 | import React from 'react';
|
---|
2 | import ReactDOM from 'react-dom';
|
---|
3 | import './index.css';
|
---|
4 | import App from './App';
|
---|
5 | import reportWebVitals from './reportWebVitals';
|
---|
6 |
|
---|
7 | import { BrowserRouter } from 'react-router-dom';
|
---|
8 | import { ThemeProvider } from 'styled-components';
|
---|
9 |
|
---|
10 | import { StyledEngineProvider } from '@mui/material/styles';
|
---|
11 |
|
---|
12 | import theme from './theme/index';
|
---|
13 |
|
---|
14 | ReactDOM.render(
|
---|
15 | <React.StrictMode>
|
---|
16 | <BrowserRouter>
|
---|
17 | <StyledEngineProvider injectFirst>
|
---|
18 |
|
---|
19 | <ThemeProvider theme={theme}>
|
---|
20 |
|
---|
21 | <App />
|
---|
22 |
|
---|
23 | </ThemeProvider>
|
---|
24 |
|
---|
25 | </StyledEngineProvider>
|
---|
26 | </BrowserRouter>
|
---|
27 | </React.StrictMode>,
|
---|
28 | document.getElementById('root')
|
---|
29 | );
|
---|
30 |
|
---|
31 | // If you want to start measuring performance in your app, pass a function
|
---|
32 | // to log results (for example: reportWebVitals(console.log))
|
---|
33 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
---|
34 | reportWebVitals();
|
---|
Note:
See
TracBrowser
for help on using the repository browser.