美文网首页
mac上前端框架开发App的相关指令

mac上前端框架开发App的相关指令

作者: Issho | 来源:发表于2019-12-19 19:25 被阅读0次
1、配置环境变量
open ~/.bash_profile
source ~/.bash_profile
2、打开iOS模拟器
open -a Simulator
3、打开安卓模拟器
cd ~/Library/Android/sdk/emulator
emulator -avd deviceName
4、React native
npm install -g yarn react-native-cli
yarn config set registry https://registry.npm.taobao.org --global
yarn config set disturl https://npm.taobao.org/dist --global
react-native init myreactnative
cd myreactnative
react-native run-ios
react-native run-android
5、weex
npm install weex-toolkit -g
weex create my-weex
cd my-weex
npm install
npm start (weex run web)
npm run ios (weex platform add ios   weex run ios)
npm run android (weex platform add android   weex run android)
weex debug
6、flutter
flutter create myflutter
cd myflutter
flutter devices
flutter run

相关文章

网友评论

      本文标题:mac上前端框架开发App的相关指令

      本文链接:https://www.haomeiwen.com/subject/wjeguctx.html