mirror of https://github.com/sunface/rust-course
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
451 B
18 lines
451 B
5 years ago
|
import React from 'react'
|
||
|
import ReactDOM from 'react-dom'
|
||
|
import * as serviceWorker from './serviceWorker'
|
||
|
import App from './pages/App'
|
||
|
import { BrowserRouter as Router} from 'react-router-dom'
|
||
|
import { Provider } from 'mobx-react'
|
||
|
import stores from './store'
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<Router>
|
||
|
<Provider {...stores}>
|
||
|
<App />
|
||
|
</Provider>
|
||
|
</Router>
|
||
|
, document.getElementById('root'))
|
||
|
|
||
|
serviceWorker.unregister()
|