1.0.8 • Published 3 years ago
annv7 v1.0.8
vue-annv7
Nguyễn Văn An A Vue component that shows a clock.
Installation
npm i --save-dev vue-annv7
Browser
Include the script file, then install the component with Vue.use(VueClock);
e.g.:
<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/vue-clock-simple/dist/annv7.min.js"></script>
<script type="text/javascript">
Vue.use(VueAnnv7);
</script>
Module
import VueAnNv7 from 'vue-annv7';
Usage
Once installed, it can be used in a template as simply as:
<vue-clock>anv7</vue-clock>