mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
19 lines
395 B
JavaScript
19 lines
395 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';
|
|
|
|
const store = createStore();
|
|
|
|
ReactDOM.render(
|
|
<Provider store={store}>
|
|
<div>
|
|
<App />
|
|
<DevTools />
|
|
</div>
|
|
</Provider>,
|
|
document.getElementById('yapi')
|
|
)
|