How to add Vaadin component to JMIX app with new Vaadin UI

Hi,

how can we add Vaadin component to page in JMIX app based to new version of Vaadin UI?

I want to add to incorporate into my application https://vaadin.com/directory/component/signature-widget.

How can I do it?

Hi,

You need to register on the Vaadin site in order to get an access to Maven coordinates and Vaadin add-ons repository.

Then add vaadin repository and addon dependency to your build.gradle file, e.g.:

repositories {
    ...
    maven {
        url 'https://maven.vaadin.com/vaadin-addons'
    }
}

...

implementation 'de.f0rce.signaturepad:signature-widget:3.0.0'
...

After that, this component will be available in your project and you can use it according to the add-on documentation.

Regards,
Gleb

1 Like