Skip to content

Commit 138049b

Browse files
committed
Use vue clock component
1 parent 2c5e1dc commit 138049b

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "vue-clock",
2+
"name": "@dangvanthanh/vue-clock",
33
"version": "0.1.0",
44
"description": "Simple clock using Vue.js",
55
"author": "Dang Van Thanh <[email protected]>",

readme.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@
44
55
![](screenshot.png)
66

7+
## Install
8+
9+
```shell
10+
$ npm install @dangvanthanh/vue-clock --save
11+
```
12+
13+
## Usage
14+
15+
```vue
16+
<template>
17+
<div class="app">
18+
<vue-clock />
19+
</div>
20+
</template>
21+
22+
<script>
23+
import VueClock from '@dangvanthanh/vue-clock';
24+
25+
export default {
26+
components: { VueClock }
27+
}
28+
</script>
29+
```
30+
731
## License
832

933
MIT © Dang Van Thanh <[email protected]>

0 commit comments

Comments
 (0)