Commit fdf22b0b by hfpp2012 yinsigan

add mobx-react-devtools

1 parent 675cf7f2
......@@ -40,6 +40,7 @@
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^7.0.1",
"extract-text-webpack-plugin": "^2.1.0",
"mobx-react-devtools": "^4.2.13",
"node-sass": "^4.5.3",
"open-browser-webpack-plugin": "^0.0.5",
"sass-loader": "^6.0.5",
......
......@@ -16,6 +16,8 @@ import modalRepoFormStore from './stores/ModalRepoForm'
import {enableLogging} from 'mobx-logger'
enableLogging()
import DevTools from 'mobx-react-devtools';
const stores = { elementGroupStore, headerStore, modalRepoFormStore }
ReactDOM.render(
......@@ -23,6 +25,7 @@ ReactDOM.render(
<Router handler={Spd} history={Router}>
<Spd>
<Route path="/web/regional_design/:id" component={RegionalDesign} />
<DevTools />
</Spd>
</Router>
</Provider>,
......
......@@ -3268,6 +3268,10 @@ mobx-logger@^0.6.0:
version "0.6.0"
resolved "http://registry.npm.taobao.org/mobx-logger/download/mobx-logger-0.6.0.tgz#caa2d4a65257aa0a782d6f884e6207b834408122"
mobx-react-devtools@^4.2.13:
version "4.2.13"
resolved "http://registry.npm.taobao.org/mobx-react-devtools/download/mobx-react-devtools-4.2.13.tgz#44b8bab566cefb199136770ca65278c646bbb0b5"
mobx-react@^4.1.8:
version "4.1.8"
resolved "http://registry.npm.taobao.org/mobx-react/download/mobx-react-4.1.8.tgz#5b636c01c599bbee248c05c5aab6c77a41ab07f9"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!