vue2-button

1.1.5 • 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>

Dependents (0)

Package Sidebar

Install

npm i vue2-button

Weekly Downloads

1

Version

1.1.5

License

none

Unpacked Size

12.9 kB

Total Files

7

Last publish

Collaborators

  • jeelrupapara