Compatibility mode status/@CssImport not working

Hi there,
in my Maven Spring Boot Vaadin 14 project the @CssImport annotations has no effects. Maybe the compatibility mode is still active. How can I check the status of this mode?


@CssImport is one of the features not enabled in compatibility mode. In compatibility mode it is preferred to import styles in html format using @HtmlImport.

Thank you for your reply. Yes, I know and this is exactly my problem. Sorry that this was not clear enough. I do not want to use compatibility mode. I want to use the “npm mode”. I have a huge project and like to see, if compatibility mode is enabled.

Is there a method to see, if the compatibility mode is enabled?


In your settings you should find the property

vaadin.compatibilityMode = true

change it to false