react-native 笔记

    选择打赏方式

1.创建项目:react-native init test


2.react-native run-ios 打开模拟器


3.react 调试


Install the react-devtools package globally:


with yarn:


yarn global add react-devtools

or with npm:


npm install -g react-devtools

Now run react-devtools from the terminal to launch the standalone DevTools app:


react-devtools

If you're not in a simulator then you also need to run the following in a command prompt:


adb reverse tcp:8097 tcp:8097

--------------

好 放弃去考研了

版权声明:若无特殊注明,本文皆为《 zuoer 》原创,转载请保留文章出处。
本文链接:react-native 笔记 https://www.zuoer.xin/?post=64
正文到此结束

热门推荐

管理员已关闭本篇文章评论!