加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

react-native-cli

发布时间:2020-12-15 03:23:30 所属栏目:百科 来源:网络整理
导读:react-native-cli 和 react -native 啥关系? React Native is distributed as two npm packages, react-native-cli and react-native . The first one is a lightweight package that should be installed globally ( npm install -g react-native-cli ),wh

react-native-cli 和 react -native 啥关系?

React Native is distributed as two npm packages,react-native-cliandreact-native. The first one is a lightweight package that should be installed globally (npm install -g react-native-cli),while the second one contains the actual React Native framework code and is installed locally into your project when you runreact-native init.

Becausereact-native initcallsnpm install react-native,simply linking your local github clone into npm is not enough to test local changes.

那么怎么去使用init安装的react-native 运行 git hup facebook 下的react-native 的example?

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读