8000 GitHub - ndwzl/Weex-product: 卡车之家Weex版产品库
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ndwzl/Weex-product

 
 

Repository files navigation

productApp

productApp

getting start

npm install

file structure

  • src/*: all source code
  • app.js: entrance of the Weex page
  • build/*: some build scripts
  • dist/*: where places generated code
  • assets/*: some assets for Web preview
  • index.html: a page with Web preview and qrcode of Weex js bundle
  • weex.html: Web render
  • .babelrc: babel config (preset-2015 by default)
  • .eslintrc: eslint config (standard by default)

npm scripts

# build both two js bundles for Weex and Web
npm run build

# build the two js bundles and watch file changes
npm run dev

# start a Web server at 8080 port
npm run serve

# start weex-devtool for debugging with native
npm run debug

notes

You can config more babel, ESLint and PostCSS plugins in webpack.config.js.

About

卡车之家Weex版产品库

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 90.5%
  • JavaScript 9.0%
  • Other 0.5%
0