yslm / vue-timeCount

vue中多定时器

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test-countdown

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

这里面包含了两种实现倒计时的方法,一种是借用别人的,一种是自己写的,都可以传递回调函数,自认为自己写的可能性能上会好一点

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

About

vue中多定时器


Languages

Language:JavaScript 71.6%Language:Vue 27.4%Language:HTML 1.0%