initweex
npm install
src/*
: all source codebuild/*
: some build scriptsdist/*
: where places generated codedist/assets/*
: some assets for Web previewdist/index.html
: a page with Web preview and qrcode of Weex js bundledist/preview.html
: Web render.babelrc
: babel config (preset-env by default).eslintrc
: eslint config (standard by default)
# watch & build js bundles and preview the pages with hot-reloading
npm run start
# build both two js bundles for Weex and Web
npm run build
# build and serve root path in 8088 port.
npm run serve
# start weex-devtool for debugging with native
npm run debug
You can config more babel, ESLint and PostCSS plugins in webpack.config.js
.