命令行创建react native项目

1.在空文件夹下输入CMD进入dos窗口

2.一次输入命令

npm install -g yarn react-native-cli
react-native init 项目名称
cd 项目名称
react-native run-android

 

posted @ 2021-01-15 09:43  创客未来  阅读(223)  评论(0)    收藏  举报