Skip to content

Instantly share code, notes, and snippets.

@destroytoday
Last active March 30, 2017 02:15
Show Gist options
  • Save destroytoday/35982eeef16a84cdffd8e8784864a403 to your computer and use it in GitHub Desktop.
Save destroytoday/35982eeef16a84cdffd8e8784864a403 to your computer and use it in GitHub Desktop.
{
data () {
return {
now: new Date
}
},
created () {
setInterval(() => this.now = new Date, 1000 * 60)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment