I am trying to include custom icons as described in this post. But I can not find the @HtmlImport
annotation anymore (Flow V. 20). This annotation was widely used, should it have been replaced I would expect to find at least some documentation.
P.S. I also tried @StyleSheet("./styles/iconexp-iconset-svg.html")
bit it complains:
Couldn't find route for 'styles/iconexp-iconset-svg.html'
Building off of Jouni's, here is an example using
@JsModule
.(1) Define your iconset in a JavaScript file.
(2) Import the file in your root layout class.