npm install
npm run build
: buildsrc/*
intodist/index.js, dist/index.web.js
npm run dev
: watch file changes ofsrc/*
and automatically build intodist/index.js, dist/index.web.js
npm run serve
: preview in html5 renderer throughhttp://localhost:1337/
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.