vue-barcode
vue-barcode copied to clipboard
Self contained example
Hi, Would it be possible to have example without the use of npm nor JsFiddle ? Thank you, Igor
Looking at the source, it's using node modules (CommonJS). require('jsbarcode');
and module.exports = VueBarcode;
The source code expects that you are using something like Webpack or Browserify.
If you wanted it to work in the browser by just including a <script>
tag, you will want to remove those lines. You'll need to include <script>
tags for Vue and jsbarcode before that script as well.