z-vue-components
Components for VueJS2.0
如果你使用的vue版本小于2.1.5,请使用1.x.x的z-vue-components。 如果你使用的vue版本大于等于2.1.5,请使用2.x.x的z-vue-components。
Installation
$ npm install z-vue-components
Documentation
https://llawlight.github.io/vue-components/dist
Usage
全局使用
所有组件
Vue
单组件
Vue
单文件使用
ES6 or CommonJS
// or// orvar zButton = // orvar zButton = zButton components: zButton <z-button:text="'Hello world!'"></z-button>
Browser globals
Build Setup
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev# build for production with minificationnpm run build