代码拉取完成,页面将自动刷新
There are several scripts for end-user and developer.
For end users you can only know npm run build
and npm run serve
to start and npm run dev:examples
to write or modify a demo.
npm run build:native
: build JS framework for native renderer to packages/weex-js-framework/index.js
.npm run build:examples
: build all js bundles from examples/
to examples/build/
.npm run build:test
: build all js bundles from test/
to test/build/
.npm run build
: build all above.npm run dev:native
, npm run dev:examples
, npm run dev:test
are the watcher mode for all build scripts, any file changes will automatically be built.npm run serve
: run a http server so you can access all examples in browser through http://localhost:12580/
. note: you must run npm run build
first to prepare all the built files.
npm run clean:examples
: clean examples/build/
.npm run clean:test
: clean test/build/
.npm run clean
: clean both examples/build/
and test/build/
.npm run copy
: copy JS framework and examples into Android project.npm run lint
, npm run test
, npm run cover
and npm run ci
are something quality assurance.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。