|
@@ -1,10 +1,18 @@
|
|
import React from 'react';
|
|
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import ReactDOM from 'react-dom';
|
|
-import './index.css';
|
|
|
|
-import App from './App';
|
|
|
|
|
|
+import { Provider } from "react-redux";
|
|
|
|
+import { BrowserRouter } from "react-router-dom";
|
|
|
|
+import Router from "./router";
|
|
import * as serviceWorker from './serviceWorker';
|
|
import * as serviceWorker from './serviceWorker';
|
|
|
|
|
|
-ReactDOM.render(<App />, document.getElementById('root'));
|
|
|
|
|
|
+import "./style/index.scss";
|
|
|
|
+
|
|
|
|
+ReactDOM.render(
|
|
|
|
+ <BrowserRouter>
|
|
|
|
+ <Router />
|
|
|
|
+ </BrowserRouter>,
|
|
|
|
+ document.getElementById("root")
|
|
|
|
+);
|
|
|
|
|
|
// If you want your app to work offline and load faster, you can change
|
|
// If you want your app to work offline and load faster, you can change
|
|
// unregister() to register() below. Note this comes with some pitfalls.
|
|
// unregister() to register() below. Note this comes with some pitfalls.
|