/vuw

weapp Components build with Vue.js

Primary LanguageJavaScriptMIT LicenseMIT

vuw

travis-ci

weapp Components build with Vue.js

Quick Start

  import Vue from 'vue'
  import Vuw from '../dist/vuw.js'
  import '../dist/vuw.min.css'
  
  Vue.use(Vuw)
  
  // or
  import Vue from 'vue'
  import {
    view,
    icon
    // ...
  } from '../dist/vuw.js'
  import '../dist/vuw.min.css'
  
  Vue.component(view.name, view)
  Vue.component(icon.name, icon)

⚠️ 由于小程序组件名部分与原生html标签冲突,vuw默认使用w-前缀

icon

  <w-icon :type="type" :color="color" :size="size"></w-icon>
  data () {
    type: 'success',
    color: 'green',
    size: 50
  }

CONTRIBUTING

参与贡献

LICENSE

MIT