It's a simple Vue component that displays a flip clock.
Install package using npm
:
npm i @hatamiarash7/vue-flip-clock --save
Add package to your Vue project:
import Clock from "@hatamiarash7/vue-flip-clock";
import "@hatamiarash7/vue-flip-clock/dist/vue-flip-clock.css";
Vue.component("flip-clock", Clock);
You can use
Vue.use()
orVue.component()
to add the component to your Vue project.
Use component in your Vue template:
<template>
...
<flip-clock innerColor="#2980b9" />
...
</template>
Don't be shy and reach out to us if you want to contribute 😉
- Fork it !
- Create your feature branch :
git checkout -b my-new-feature
- Commit your changes :
git commit -am 'Add some feature'
- Push to the branch :
git push origin my-new-feature
- Submit a pull request
Each project may have many problems. Contributing to the better development of this project by reporting them. 👍