react-native-cli

前端之家收集整理的这篇文章主要介绍了react-native-cli前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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?

原文链接:https://www.f2er.com/react/306143.html

猜你在找的React相关文章