一覧へ戻る
wwayne/react-native-nba-app(新しいタブで開きます)
主要言語: Objective-C
This is why we play
- star 数
- 2,211
- watcher 数
- 98
- fork 数
- 497
- issue 数
- 8
- 最終更新
- 2019/10/20
主要言語: Objective-C
This is why we play
$ npm install$ npm run clean react-native unsupport for .babelrc since 0.16, so you have to remove all .babelrc in your project(includes packages)$ npm startcmd + R$ react-native run-androidThe design is made by Sketch, you can find the original design file in Dropbox, it may help if someone wants to design new features.
Check the official doc first, the following steps are based on official doc
Comment console in lib/middleware/logger.js, because native environment doesn't support for console.group
Generate js bundle: $ react-native bundle --entry-file index.ios.js --platform ios --bundle-output ./main.jsbundle
Add js bundle into your project: open Xcode, select Files -> Add Files to... -> select the main.jsbundle file that just generated
In Xcode, select your device, then click the play button or cmd + R
I never tried
MIT