vue-tomo-qr
v0.0.1
Published
A Vue.js component that create a qr code for tomo wallet login
Downloads
2
Readme
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>