React Native 命令总结

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/NotesChapter/article/details/79806816
  1. react-native –version //查看rn当前版本
  2. sudo nmp update -g react-native-cli // 全局更新rn到最新版本
  3. nmp info react-native //查看rn服务器版本
  4. npm install //给工程添加rn环境,并配置项目信息
  5. watchman watch-del-all //
  6. npm start – –reset-cache // 清除npm 缓存

猜你喜欢

转载自blog.csdn.net/NotesChapter/article/details/79806816