brew install node
brew install watchman
npm install -g react-native-cli
於指定资料夹下指令
react-native init <<专案名称>>
进入<<专案名称>>资料夹
cd <<专案名称>>
起专案
npm run ios
//若要指定装置 --simulator="装置名"
react-native run-ios --simulator="iPhone 12"
也或着可以使用 Xcode 开时<<专案名称>>/ios/<<专案名称>>.xcodeproj
按下去跑起来
iOS 模拟器於每次档案有更动时 app 就会自动重新载入,不用我们手动按 Command + R(重新整理),但如果当机可以按一下 XD。
Command + D 是打开 developer menu,但如果没反应,请按 Shift + Command + K ,再尝试一次 Command + D。
比较常使用的就是以下这三个
reload - 重新整里
debug with chrome
Inspector - 打开style检视功能及network
在OE的order_items和product_infortation资料表中,依照产品被订购次数由...
我抠 我抠 我抠抠抠,"钱歹赚"的2022,我的每一分钱都打上9个结,为了生存时...
刚开始学习的时候,我在font-family写的值都只会设定一个,完全不知道需要加上通用字型,也不...
本篇同步发文於个人Blog: [读书笔记] Threading in C# - PART 3: US...
今天要跟各位介绍一下 Google Developer Community 以及我是如何申请上 Go...