Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
hfpp2012
/
react-spd
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fdf22b0b
authored
May 27, 2017
by
hfpp2012 yinsigan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add mobx-react-devtools
1 parent
675cf7f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
package.json
src/index.js
yarn.lock
package.json
View file @
fdf22b0
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
"eslint-plugin-jsx-a11y"
:
"^4.0.0"
,
"eslint-plugin-jsx-a11y"
:
"^4.0.0"
,
"eslint-plugin-react"
:
"^7.0.1"
,
"eslint-plugin-react"
:
"^7.0.1"
,
"extract-text-webpack-plugin"
:
"^2.1.0"
,
"extract-text-webpack-plugin"
:
"^2.1.0"
,
"mobx-react-devtools"
:
"^4.2.13"
,
"node-sass"
:
"^4.5.3"
,
"node-sass"
:
"^4.5.3"
,
"open-browser-webpack-plugin"
:
"^0.0.5"
,
"open-browser-webpack-plugin"
:
"^0.0.5"
,
"sass-loader"
:
"^6.0.5"
,
"sass-loader"
:
"^6.0.5"
,
...
...
src/index.js
View file @
fdf22b0
...
@@ -16,6 +16,8 @@ import modalRepoFormStore from './stores/ModalRepoForm'
...
@@ -16,6 +16,8 @@ import modalRepoFormStore from './stores/ModalRepoForm'
import
{
enableLogging
}
from
'mobx-logger'
import
{
enableLogging
}
from
'mobx-logger'
enableLogging
()
enableLogging
()
import
DevTools
from
'mobx-react-devtools'
;
const
stores
=
{
elementGroupStore
,
headerStore
,
modalRepoFormStore
}
const
stores
=
{
elementGroupStore
,
headerStore
,
modalRepoFormStore
}
ReactDOM
.
render
(
ReactDOM
.
render
(
...
@@ -23,6 +25,7 @@ ReactDOM.render(
...
@@ -23,6 +25,7 @@ ReactDOM.render(
<
Router
handler
=
{
Spd
}
history
=
{
Router
}
>
<
Router
handler
=
{
Spd
}
history
=
{
Router
}
>
<
Spd
>
<
Spd
>
<
Route
path
=
"/web/regional_design/:id"
component
=
{
RegionalDesign
}
/
>
<
Route
path
=
"/web/regional_design/:id"
component
=
{
RegionalDesign
}
/
>
<
DevTools
/>
<
/Spd
>
<
/Spd
>
<
/Router
>
<
/Router
>
<
/Provider>
,
<
/Provider>
,
...
...
yarn.lock
View file @
fdf22b0
...
@@ -3268,6 +3268,10 @@ mobx-logger@^0.6.0:
...
@@ -3268,6 +3268,10 @@ mobx-logger@^0.6.0:
version "0.6.0"
version "0.6.0"
resolved "http://registry.npm.taobao.org/mobx-logger/download/mobx-logger-0.6.0.tgz#caa2d4a65257aa0a782d6f884e6207b834408122"
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:
mobx-react@^4.1.8:
version "4.1.8"
version "4.1.8"
resolved "http://registry.npm.taobao.org/mobx-react/download/mobx-react-4.1.8.tgz#5b636c01c599bbee248c05c5aab6c77a41ab07f9"
resolved "http://registry.npm.taobao.org/mobx-react/download/mobx-react-4.1.8.tgz#5b636c01c599bbee248c05c5aab6c77a41ab07f9"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment