cbre-vue-components
A Vue.js component that displays a clock
1,210
89
| Install | |
|---|---|
npm install cbre-vue-components@1.0.0 |
|
| Latest Version: | 1.0.0 |
| Vue: | 2 |
| License: | MIT |
| Last Updated: | Sep 30, 2018 |
| Links: | GitHub · npm |
Maintainer: adithyavin
vue-clock-simple
A Vue component that shows a clock.
This isn't particularly useful, it's used as a demo for how to publish Vue components to NPM!
Installation
npm i --save-dev vue-clock-simple
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/vue-clock.min.js"></script>
<script type="text/javascript">
Vue.use(VueClock);
</script>
Module
import VueClock from 'vue-clock-simple';
Usage
Once installed, it can be used in a template as simply as:
<vue-clock></vue-clock>
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.0 | ^2.6.10 | ||
| 0.0.5 | ^2.2.1 | MIT | |
| 0.0.2 | ^2.6.10 |