FlowingCode / FontAwesomeIronIconset

Iron iconset based on FontAwesome
https://www.flowingcode.com/en/open-source/
Apache License 2.0
16 stars 6 forks source link

Using FontAwesome with vaadin and quarkus #94

Closed gastbob40 closed 1 year ago

gastbob40 commented 1 year ago

Hey :)

I'm using this package with vaadin and quarkus.

I can import the module, and use it in my code.

However, the icon is not rendered in the UI

image

How can i fix it ?

javier-godoy commented 1 year ago

This add-on is not distributed with a Jandex Index, hence you need to add a quarkus.index-dependency entry, see: https://vaadin.com/docs/latest/integrations/quarkus/#quarkus.vaadin.addons

gastbob40 commented 1 year ago

Now, i'm using:

quarkus.index-dependency.fontawesome.group-id=com.flowingcode.addons
quarkus.index-dependency.fontawesome.artifact-id=font-awesome-iron-iconset

However, the page doesn't load anymore I have this error on the webpage logs (in the browser)

fab.js:2887 Uncaught (in promise) TypeError: Iconset.register is not a function

I'm using v5.2.1

javier-godoy commented 1 year ago

Which version of the framework are you using? (5.2.1 is compatible with Vaadin 24) Do Vaadin icons work in your application?

gastbob40 commented 1 year ago

I’m using Vaadin 23.3.6 Vaadin icons works well in my application

javier-godoy commented 1 year ago

For Vaadin 23 use version 4.x of the add-on (the latest is v4.4.1)

gastbob40 commented 1 year ago

I confirm that using v4.4.1 made the Icon visible Thank you :)