-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Labels
Description
Describe your motivation
In v25 we want to recommend using @StyleSheet
as the default way of loading CSS in an application. However, when you enable Spring Security and then add a custom stylesheet, it's not going to be loaded:
@StyleSheet(Aura.STYLESHEET)
@StyleSheet("styles.css")
public class App implements AppShellConfigurator {}
To get the styles loaded I have to:
- Figure out the issue is related to Spring Security
- Figure out the magic incantation to permit loading my custom styles
Which sucks, because my current task is styling the application, not figuring out how Spring Security works. It's also confusing because the Aura styles are loading due to our custom Spring security rules for that.
This behavior is also a downgrade compared to the legacy theme folder, which just made things work out of the box.
Describe the solution you'd like
CSS included with @StyleSheet
should always load, regardless of the security configuration.
knoobie
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🪵Product backlog
Status
Maybe