How to add StyleSheet programmatically without annotation (@CssImport("...")
)? I tried UI.getCurrent().getPage().addStyleSheet("C:/...")
, but it´s ignored.
Im using Vaadin 14.3.7
Best Jan
How to add StyleSheet programmatically without annotation (@CssImport("...")
)? I tried UI.getCurrent().getPage().addStyleSheet("C:/...")
, but it´s ignored.
Im using Vaadin 14.3.7
Best Jan
One approach is to implement PageConfigurator interface in your main layout and add it there, see example here