tree: 73398f67a5b721dff2b8929060bc558e6a416b41 [path history] [tgz]
  1. component/
  2. include/
  3. module/
  4. showcase/
  5. style/
  6. syntax/
  7. vanilla/
  8. vue/
  9. .gitignore
  10. accessibilitySupport.we
  11. animation.we
  12. error.we
  13. geolocation.we
  14. hello.we
  15. iconfont.we
  16. index.we
  17. linear-gradient.we
  18. README.md
  19. template.we
  20. test.we
examples/README.md

Example Guide

Add an example

  • Add a file newExample.we copied from template with UI Gallery (recommended).
  • In index.we, add an item {name: 'newExample', title: 'New Example'} for array data.cases

Rule

  1. File name is dash (-) separated words, and each word is lower case, e.g. index.we, style-demo.we
  2. DO NOT use builtin components name as file name, it may fail to run.

UI Gallery

Inspired by Bootstrap.

We import a simple UI Gallery for a consistent UI style. See UI Gallery Example for details.

Reference: https://www.npmjs.com/package/weex-components