Vue plugin for easy timer ticks management inside components.
Install:
npm install vue-ticks
or
yarn add vue-ticks
Enable it in your project:
import VueTicks from 'vue-ticks';
Vue.use(VueTicks);
You can now declare your ticks:
export default {
ticks: {
...
}
}
Peruse the sandbox to play with the plugin.