Closed yahyaKacem closed 5 years ago
@yahyaKacem this should be addressed as in PR #4. If you're using the latest webpack builder in angular-cli it should just work however if still on systemjs. You'll need the above except instead of qrcode
I think it should be qrcodejs2
.
Instead of a script tag in the index.html it's better to import this in the ng2-qrcode.ts file like this:
with this in system-config.ts:
here's a plunker with an example;