vue-awesome-countdown
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "vue-awesome-countdown", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Vue countdown plugin.", | ||
@@ -5,0 +5,0 @@ "main": "vue-awesome-countdown.js", |
@@ -45,2 +45,14 @@ # vue-awesome-countdown | ||
### SSR (Nuxt) | ||
```html | ||
<no-ssr> | ||
<countdown :end-time="new Date().getTime() + 60000"> | ||
<span | ||
slot="process" | ||
slot-scope="{ timeObj }">{{ `Lefttime: ${timeObj.ceil.m}:${timeObj.ceil.s}` }}</span> | ||
<span slot="finish">Done!</span> | ||
</countdown> | ||
</no-ssr> | ||
``` | ||
## Example demo | ||
@@ -47,0 +59,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10859
6
121