/button

基于 Vue2.x 的按钮组件。Vue-based button component

Primary LanguageVueOtherNOASSERTION

button

Element Button clone, and did just a little change. If you have a better idea of this component improvement, please share it and I will update it immediately.

Install

npm install vue-multiple-button -S

Quick Start

import Vue from 'vue'
import { Button, ButtonGroup } from 'vue-multiple-button'
import 'vue-multiple-button/lib/button.css'

Vue.component(Button.name, Button)
Vue.component(ButtonGroup.name, ButtonGroup)

For more information, please refer to Button in our documentation.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run demo:dev

# build for demo with minification
npm run demo:build

# build for gh-pages with minification
npm run demo:prepublish

# build for production with minification
npm run build

# generate gh-pages
npm run deploy

LICENSE

MIT