Client/admin #41

Merged
KevinMidboe merged 13 commits from client/admin into master 2017-10-06 10:28:06 +00:00
Showing only changes of commit bd74e1dee1 - Show all commits

View File

@@ -2,14 +2,19 @@
* @Author: KevinMidboe * @Author: KevinMidboe
* @Date: 2017-06-01 21:08:55 * @Date: 2017-06-01 21:08:55
* @Last Modified by: KevinMidboe * @Last Modified by: KevinMidboe
* @Last Modified time: 2017-06-01 21:34:32 * @Last Modified time: 2017-10-05 13:47:37
./client/index.js ./client/index.js
which is the webpack entry file which is the webpack entry file
*/ */
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import { render } from 'react-dom';
import { HashRouter } from 'react-router-dom';
import App from './components/App.jsx'; import App from './components/App.jsx';
ReactDOM.render(<App />, document.getElementById('root')); render((
<HashRouter>
<App />
</HashRouter>
), document.getElementById('root'));