how to use sass in java code?


is there a annotation like @CssImport, to import and use sass directly?

There’s no built-in feature for SASS support in Vaadin 10 or later, no.


There is an experimental example how to do that in Vaadin 14 here:

But as Olli said: sass is not officially supported in Vaadin 10+.

thanks @Jean-Christophe Gueriaud and @Olli Tietäväinen