a weex component
npm install
npm run build
: build src/*
into dist/index.js, dist/index.web.js
npm run dev
: watch file changes of src/*
and automatically build into dist/index.js, dist/index.web.js
npm run serve
: preview in html5 renderer through http://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.