You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, while implement vaadin(14.2) with quarkus(1.15.0.Final) framework, static resources(css, js, images, etc..) are not getting loaded in npm mode vaadin 14+.
I know that your project runs in compatibility mode, But I was really hoping you could help me out with my issue.
Here is the same sample GitHub reproducing project to demonstrate the above-said problem.
I digged a while and found out the right spot to place your CSS files:
Annotate your class with eg @StyleSheet("style.css")
and your file needs to be at src/main/resources/META-INF/resources/frontend/style.css. I did not test it with JS. Will try it, if I need it. Please let me know, if it helps you.
PS: I just downloaded this repo and started the example - nothing else. :)
Thanks for the reply, Yes this works fine I have tried before. But I think we have an issue while running in quarkus dev mode in vaadin npm version(which has node_modules js dependencies). while running in production mode(java -jar *.jar) everything seems ok for npm mode. Do you have any idea for quarkus:dev mode?
Hi, while implement vaadin(14.2) with quarkus(1.15.0.Final) framework, static resources(css, js, images, etc..) are not getting loaded in npm mode vaadin 14+.
I know that your project runs in compatibility mode, But I was really hoping you could help me out with my issue.
Here is the same sample GitHub reproducing project to demonstrate the above-said problem.
sample demo project to illustrate
The text was updated successfully, but these errors were encountered: