How to run React-Native Examples?

后端 未结 9 2174
暗喜
暗喜 2021-01-31 21:18

I can\'t find any instructions on how to install and run one of the other Examples provided in \'https://github.com/facebook/react-native/tree/master/Examples\' such as \'https:

9条回答
  •  一个人的身影
    2021-01-31 22:03

    1. brew update
    2. brew install node
    3. brew upgrade node (if u already installed)
    4. brew install watchman
    5. npm install -g react-native-cli
    6. react-native init [name ur app] --version 0.24.0(depends on which version u want to use, if it didn't work use below) (6). react-native init [name ur app] --verbose
    7. cd [name ur app]
    8. open .
    9. npm start
    10. atom . (if u installed atom)

提交回复
热议问题