-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Labels
Description
Describe your motivation
Currently it doesn't seem possible to load stylesheets from assets that have been copied over from an NpmPackage
annotation using the @StyleSheet
annotation.
For example, trying to load Font Awesome:
@NpmPackage(value = "@fortawesome/fontawesome-free", version = "latest, assets = {"./**:fontawesome"})
@StyleSheet("fontawesome/css/all.css")
public class App implements AppShellConfigurator {}
(not 100% sure what the assets path should be, the intention was to copy the whole package contents to fontawesome
)
Since @StyleSheet
is intended to become the standard way of including stylesheets in v25 we should aim to make this work.
Describe the solution you'd like
Including stylesheets from assets that have copied to static resources should work using @StyleSheet
.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🪵Product backlog
Status
Next for Dev. Team