import React, { Component } from 'react';
import {Router, Route, Switch} from 'react-router-dom';
import Home from './view/home/index'
import './index.css'

const history = require("history").createBrowserHistory()

class App extends Component {

render() {
return (
<Router history={history}>
  <Switch>
    <Route exact path="/" component={Home} />
  </Switch>
</Router>
);
}
}

export default App;

05-20 05:07