tree: ba39976de7c203855cdc087ec149bad9638236b1 [path history] [tgz]
  1. .gitignore
  2. README.md
  3. vanilla/
  4. vue/
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