vue-shiny-button

0.1.0 • Public • Published

vue-shiny-button

The Vuejs button component you've been looking for

vue-shiny-button in use

Try it on CodeSandbox

Installation

Install the package from npm by running npm i vue-shiny-button or yarn add vue-shiny-button.

Usage

Import and register the component to use it in your app's templates.

<template>
  <VueShinyButton @click="..." />
</template>
import VueShinyButton from 'vue-shiny-button'
 
export default {
  components: {
    VueShinyButton,
  }
}

Accessibility

Apply attributes, such as aria-labels, directly on the element to apply them to the button.

<template>
  <VueShinyButton aria-label='Send message' />
</template>

Contributing

This project is open to and encourages contributions! Feel free to discuss any bug fixes/features in the issues. If you wish to work on this project:

  1. Fork the project
  2. Create your feature branch (git checkout -b new-feature-branch)
  3. Commit your changes (git commit -am 'add new feature')
  4. Push to the branch (git push origin new-feature-branch)
  5. Submit a pull request!

Note: Running dev script requires @vue/cli and @vue/cli-service-global to be installed. Install globally by running npm i --g @vue/cli @vue/cli-service-global or yarn add global vue/cli @vue/cli-service-global.

Package Sidebar

Install

npm i vue-shiny-button

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

29.4 kB

Total Files

8

Last publish

Collaborators

  • shwilliam