2017-07-05 14:10:06 +08:00
|
|
|
import React from 'react'
|
|
|
|
import ReactDOM from 'react-dom'
|
2017-07-24 11:04:51 +08:00
|
|
|
import App from './Application'
|
2017-07-10 20:30:11 +08:00
|
|
|
import { Provider } from 'react-redux'
|
2017-08-08 14:25:33 +08:00
|
|
|
import createStore from './reducer/create';
|
2017-08-04 12:15:45 +08:00
|
|
|
import { DevTools } from './containers';
|
|
|
|
|
2017-08-08 14:25:33 +08:00
|
|
|
const store = createStore();
|
2017-07-05 14:10:06 +08:00
|
|
|
|
|
|
|
ReactDOM.render(
|
2017-07-09 21:33:21 +08:00
|
|
|
<Provider store={store}>
|
2017-08-04 12:15:45 +08:00
|
|
|
<div>
|
|
|
|
<App />
|
|
|
|
<DevTools />
|
|
|
|
</div>
|
2017-07-09 21:33:21 +08:00
|
|
|
</Provider>,
|
2017-07-05 14:10:06 +08:00
|
|
|
document.getElementById('yapi')
|
2017-07-09 21:33:21 +08:00
|
|
|
)
|