npm install
npm run build
: buildsrc/main.we
intodist/main.js
npm run dev
: watch file changes ofsrc/main.we
and automatically build intodist/main.js
npm run serve
: preview in html5 renderer throughhttp://localhost:8080/
note: the entry file can be configured in webpack.config.js
, learn more from weex-loader
Finally the generated code will be found in dist
folder.
pod install
: openPlayWiki.xcworkspace
and build targetPlayWiki