There was an error while loading. Please reload this page.
1 parent ebfc77d commit 9afb433Copy full SHA for 9afb433
.gitignore
@@ -1 +1,2 @@
1
node_modules/
2
+*.log
README.md
@@ -1,5 +1,28 @@
-# vue-countdown
+# vuejs-countdown
A simple countdown timer component for vue js 2.0
3
4
## Installation
5
+#### npm
6
+
7
`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