目标文件:package.json
{
....
"dependencies": {
"react": "16.8.3",
"react-native": "0.59.9",
"react-native-tab-navigator": "^0.3.4"
},
....
}
命令行:
npm install react-native-tab-navigator
react-native link react-native-tab-navigator
猜测:
先通过npm加载到本地;
在通过 react-native link 关联到工程;