An example based on React Native 由于受限制于接口,没有后台,只是自己学习时候的做的。
-
Clone the repo:
$ git clone https://github.com/Shangyunliang/DoubanMovie.git $ cd DoubanMovie
-
Install dependencies:
$ npm install
-
Install react-native-cli:
$ npm install -g react-native-cli
-
Running on iOS:
$ react-native run-ios
Could not connect to development server
In a separate terminal window run:
$ react-native start