react-native環境搭建

FreeeLinux發表於2018-02-06
  1. 首先安裝nvm,brew install nvm
  2. 安裝react-native-cli,命令忘記了,不過很簡單,一查就知道。
  3. npm install wordwrap //必須在專案上一級目錄,不能加-g
  4. react-native init wilcotest
  5. npm install uuid –save
  6. npm install babel-template –save
  7. react-native run-ios
  8. 然後就可以看到welcome react native了。

相關文章