vue-shiny-button
v0.1.0
Published
Extremely shiny button for Vuejs
Downloads
6
Maintainers
Readme
vue-shiny-button
The Vuejs button component you've been looking for
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:
- Fork the project
- Create your feature branch (
git checkout -b new-feature-branch
) - Commit your changes (
git commit -am 'add new feature'
) - Push to the branch (
git push origin new-feature-branch
) - 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
.