React Native环境搭建
by 伍雪颖
1.安装 node,watchman,flow
brew install node
brew install --HEAD watchman
brew install flow
2.安装react-native
npm install -g react-native-cli
3.初始化工程
react-native init Helloworld
4.用xcode打开Helloworld.xcodeproj,运行
大功告成!
时间: 2024-11-03 22:02:22