QRCODE-README.md (600B)
1 # QRCode.js Library 2 3 This plugin requires the QRCode.js library for generating QR codes. 4 5 ## Installation 6 7 Download `qrcode.min.js` from: 8 https://github.com/davidshimjs/qrcodejs 9 10 Place the minified file as: 11 `assets/js/qrcode.min.js` 12 13 ## Alternative CDN Usage 14 15 If you prefer to use a CDN instead, modify the enqueue script in `taler-turnstile.php`: 16 17 ```php 18 // Replace the qrcode enqueue with: 19 wp_enqueue_script( 20 'qrcode', 21 'https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js', 22 array(), 23 '1.0.0', 24 true 25 ); 26 ``` 27 28 ## License 29 30 QRCode.js is licensed under the MIT License.