Problem with @CssImport

Does not import styles file. Vaadin 14.4.4
@CssImport(value = “./styles/shared-styles.css”)
grid.addClassName(“failed”); and nothing happens

Please help!

I am having the same problem. Using 14.1.8, the @CssImport annotations resulted in a correct display. Upgrading to later versions (due to security vulnerability) causes the css to not be used. In my use case, the component is being exported using a WebComponentExporter.

The documentation surrounding this seems to be either incorrect or incomplete.