0.0.1 • Published 7 years ago
vue-tomo-qr
Licence
MIT
Version
0.0.1
Deps
3
Size
193 kB
Vulns
24
Weekly
0
vue-tomo-qr
A Vue component that shows a tomo qr scan.
Installation
npm i --save-dev vue-tomo-qr
Browser
Include the script file, then install the component with Vue.use(VueTomoQr); e.g.:
<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/vue-tomo-qr/dist/vue-tomo-qr.min.js"></script>
<script type="text/javascript">
Vue.use(VueTomoQr);
</script>
Module
import VueTomoQr from 'vue-tomo-qr';
Usage
Once installed, it can be used in a template as simply as:
<vue-tomo-qr></vue-tomo-qr>