Generate barcode on Angular2 project
See original GitHub issueHi.
I want to use generate a barcode using typeScript and angular2 project.
I’ve already run npm install jsbarbode --save
. After that, I added the reference to the script in angular-cli.json
"scripts": [ "../node_modules/jsbarcode/dist/JsBarcode.all.js" ],
When I add the module in app.module.ts the following error is shown
app.module.ts code:
Does anyone know how to solve it? Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Getting started with Angular Barcode component - Syncfusion
This section explains you the steps required to create a simple barcode and demonstrate the basic usage of the barcode control.
Read more >ngx-barcode - npm
An angular component for Angular 4+ for creating 1-D barcodes based on Lindell's JsBarcode. Demo. Basic demo. Features.
Read more >Angular 2 Barcode Generator - Stack Overflow
I am looking for Angular 2 Barcode Generator for ...
Read more >How to Create/Generate QR Code in Angular 14 Application
The angular2-qrcode is a component that you can easily integrate into your project. It relies on qrious to generate QR Codes. In modern ......
Read more >Angular 10|9 Generate/ Create QR Code using angular2 ...
1) Setup Angular CLI · 2) Create a New Angular Application · 3) Install the angular2-qrcode Package · 4) Update App Module ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Check out ngx-barcode… built against angular4 but should work with 2 as well.
import * as JsBarcode from 'jsbarcode';
doesn’t work?