yapi/client/index.js
2017-08-22 10:43:40 +08:00

20 lines
424 B
JavaScript

import React from 'react'
import ReactDOM from 'react-dom'
import App from './Application'
import { Provider } from 'react-redux'
import createStore from './reducer/create';
import { DevTools } from './containers';
import './styles/theme.less'
const store = createStore();
ReactDOM.render(
<Provider store={store}>
<div>
<App />
<DevTools />
</div>
</Provider>,
document.getElementById('yapi')
)