mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
20 lines
424 B
JavaScript
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')
|
|
)
|