fs-addcomponent react与react-native使用函数来添加组件。 install npm install fs-addcomponent --save Development npm install npm start Example http://github.dxcweb.com/fs-addcomponent/