Skip to content

Commit 9afb433

Browse files
Anwar HussainAnwar Hussain
authored andcommitted
adds how to use
1 parent ebfc77d commit 9afb433

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules/
2+
*.log

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
1-
# vue-countdown
1+
# vuejs-countdown
22
A simple countdown timer component for vue js 2.0
33

44
## Installation
5+
#### npm
6+
57
`npm i vuejs-countdown --save`
8+
9+
10+
## Usage
11+
12+
```html
13+
<template>
14+
<div>
15+
<Countdown deadline="August 22, 2022"></Countdown>
16+
</div>
17+
</template>
18+
```
19+
20+
```javascript
21+
<script>
22+
import Countdown from 'vuejs-countdown'
23+
24+
export default {
25+
components: { Countdown }
26+
}
27+
</script>
28+
```

0 commit comments

Comments
 (0)