Skip to content
/ barcodes Public

Vaadin 14 integration for bwip-js (BWIPP) for creating barcode and QR Code

License

Notifications You must be signed in to change notification settings

samie/barcodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Barcodes

Vaadin 14 Java integration of bwip-js. Create various kind of barcodes and QR codes for Vaadin. List of supported barcode types.

Development instructions

JavaScript modules can either be published as an NPM package or be kept as local files in your project. The local JavaScript modules should be put in src/main/resources/META-INF/frontend so that they are automatically found and used in the using application.

If the modules are published then the package should be noted in the component using the @NpmPackage annotation in addition to using @JsModule annotation.

Starting the test/demo server:

  1. Run mvn jetty:run.
  2. Open http://localhost:8080 in the browser.

Publishing to Vaadin Directory

You can create the zip package needed for Vaadin Directory using

mvn versions:set -DnewVersion=1.0.0 # You cannot publish snapshot versions 
mvn install -Pdirectory

The package is created as target/barcodes-1.0.0.zip

For more information or to upload the package, visit https://vaadin.com/directory/my-components?uploadNewComponent

About

Vaadin 14 integration for bwip-js (BWIPP) for creating barcode and QR Code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages