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