Skip to content

Commit fcef6f4

Browse files
authored
Added install command
1 parent b1a948f commit fcef6f4

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
![demoGif](https://i.imgur.com/zM0vitr.gif)
22
## VueConfirmationButton
33

4-
A VueJS (2.x) button component that requires the user to press it a few times
5-
6-
### What is this?
7-
8-
A component that will generate a button that requires the user to press it multiple times in order to confirm a designated action
4+
A Vue.js [single file component](https://vuejs.org/v2/guide/single-file-components.html) that will generate a button that requires the user to press it multiple times in order to confirm a designated action
95

106
### Why would i need that?
117

128
Think of a sensitive scenario, something like deleting data. Having the user read multiple warning messages before performing an action will help prevent unwanted deletions.
139

10+
## Demo
11+
12+
[Live Demo](http://rohanlikhite.com/projects/vueConfirmationButton/)
13+
1414
## Install
1515

16+
#### Yarn
17+
18+
`yarn add vue-confirmation-button`
19+
20+
#### Manual
21+
22+
Manually download the .vue component (located in the dist) folder and add that to your project.
1623

17-
## Example
1824

1925
#### JS
2026

@@ -51,6 +57,7 @@ const demo = new Vue({
5157
</vue-confirmation-button>
5258
</div>
5359
```
60+
## Details
5461

5562
### Props
5663

0 commit comments

Comments
 (0)