Today is nothing, engaged in the react Native, also are just started to get, and did not feel it's strong, hey. Today is a demo can run. I hereby record the construction process and save it for future use.
Hereby declare, only process, do not guarantee hundred percent success, because I was in the construction of reference to a lot of things related articles, but also please crossing from the discretion, La La la I am so "responsible."
The official Chinese version of the Geek Academy--which is hereby delivered--is the main learning reference object of the portal, which can be seen in English documents
In addition, the installation steps refer to this article, which is recorded here for your own viewing convenience, and the reference article a bit out of the
The setup steps are as follows:
Homebrew is a package manager in a MAC. If not installed, click here to install
NVM is the version manager of node. js that makes it easy to install versions of node. js. Install through the instructions brew installation NVM
Install node. js, via instructions: NVM install node && NVM alias default node (I did not install successfully) or by downloading the installation
Install Watchman and Flow, instructions: Brew install Watchman Brew Install flow
Install React navtive, instructions: NPM install-g react-native-cli, note: Some students may fail here, the reason may be less authority, here to add sudo can be resolved
The final step, download the demo program; instruction: react-native init awesomeproject (project name optional) command+r run. You can then see:
Next, the little friends will be able to play happily.
Judging about this thing, I am also a small rookie, do not express their views, a word: Every technology appears, is to solve a specific problem.
Follow-up will update learning experience, not necessarily use, but still to do technology accumulation.
Dreams are always there, in case one day comes true. hahaha.
iOS version React Native environment setup