1.0.6 • Published 8 years ago
viz-controls v1.0.6
viz-controls
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 viz-controls
Browser
Include the script file, then install the component with Vue.use(VizControls);
e.g.:
<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/viz-controls/dist/viz-controls.min.js"></script>
<script type="text/javascript">
Vue.use(VizControls);
</script>
Module
import VizControls from 'viz-controls';
Usage
Once installed, it can be used in a template as simply as:
<viz-controls></viz-controls>