[关闭]
@2890594972 2018-02-26T02:23:41.000000Z 字数 1672 阅读 771

weex-vue

weex


  1. MacBookPro:~ xiangjun$ weex create weex-app
  2. ? May weex-toolkit anonymously report usage statistics to improve the tool over
  3. time? Yes
  4. ? Which npm registry you perfer to use? npm
  5. 10:08:31 : Set telemetry => true
  6. 10:08:31 : Set registry => http://registry.npmjs.org
  7. Set telemetry = true
  8. Set registry = "http://registry.npmjs.org"
  9. 10:08:31 : You can config this configuration again by using `weex config [key] [value]`
  10. 10:08:31 : Enjoying your coding time!
  11. This command need to install weexpack. Installing...
  12. ? Project name weex-app
  13. ? Project description A weex project
  14. ? Author xiangjun9988 <xiangjun9988@163.com>
  15. ? weex build lts
  16. ? babel compiler (https://babeljs.io/docs/plugins/#stage-x-experimental-presets)
  17. stage-0
  18. ? Use vue-router to manage your view router? (not recommended) Yes
  19. ? Use ESLint to lint your code? No
  20. ? Set up unit tests No
  21. ? Should we run `npm install` for you after the project has been created? (recom
  22. mended) yarn
  23. 10:21:34 : Generated weex-app
  24. # Installing project dependencies ...
  25. # ========================
  26. /bin/sh: yarn: command not found
  27. Success! Created weex-app at /Users/xiangjun/weex-app
  28. Inside that directory, you can run several commands:
  29. npm start
  30. Starts the development server for you to preview your weex page on browser
  31. You can also scan the QR code using weex playground to preview weex page on native
  32. npm run dev
  33. Open the code compilation task in watch mode
  34. npm run ios
  35. (Mac only, requires Xcode)
  36. Starts the development server and loads your app in an iOS simulator
  37. npm run android
  38. (Requires Android build tools)
  39. Starts the development server and loads your app on a connected Android device or emulator
  40. npm run pack:ios
  41. (Mac only, requires Xcode)
  42. Packaging ios project into ipa package
  43. npm run pack:android
  44. (Requires Android build tools)
  45. Packaging android project into apk package
  46. npm run pack:web
  47. Packaging html5 project into `web/build` folder
  48. npm run test
  49. Starts the test runner
  50. To get started:
  51. cd weex-app
  52. npm start
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注