vue2-button

1.1.4 • Public • Published

vue2-button component

A button component for vue

  • latest-version : 1.1.0

Support

  • vue: 2.x.x

Demo

button-demo

Installation

  • Install npm packege to your vue-project
  $ npm install vue2-button --save

Usage/Examples

<template>
  <Vue2Button>button-name</Vue2Button>
</template>

<script>
import Vue2Button from "vue2-button/src/vue2-button.vue";

export default {
  components: {
    { Vue2Button },
  },
};
</script>

props ( for customization ):

Name Type Default
bg-color String royalblue
tx-color String white

How to use props :

<template>
  <Vue2Button bg-color="red" tx-color="green">
    button-name
  </Vue2Button>
</template>

Install

npm i vue2-button

DownloadsWeekly Downloads

4

Version

1.1.4

License

none

Unpacked Size

3.44 kB

Total Files

3

Last publish

Collaborators

  • jeelrupapara