Add router and login part

This commit is contained in:
2020-02-15 14:00:15 +01:00
parent 47f0edb8e6
commit eed63b2bbc
10 changed files with 502 additions and 303 deletions
+3 -8
View File
@@ -1,12 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import './index.css';
import { BrowserRouter as Router } from 'react-router-dom';
import App from './Components/AppComponent/App';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(<App />, document.getElementById('root'));
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();
ReactDOM.render(<Router><App /></Router>, document.getElementById('App'));