react native 添加mobx

"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-preset-react-native-stage-0": "^1.0.1",
"mobx": "^3.2.2",
"mobx-react": "^4.2.2",
 
 
.babelrc 文件 :  
{
"presets": ["react-native"],
"plugins": ["transform-decorators-legacy"]
}
posted @ 2018-09-18 18:07  年少的你如此美丽  阅读(464)  评论(0编辑  收藏  举报