Skip to content

Conversation

@mcollovati
Copy link
Contributor

When VaadinServlet is configured with a custom mapping, stylesheet must be loaded from the application context path, by adding the context:// protocol to the path used with annotation.

When VaadinServlet is configured with a custom mapping, stylesheet must be loaded
from the application context path, by adding the context:// protocol to the path
used with  annotation.
Copy link
Contributor

@mshabarov mshabarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but we also need this in the styling article for a long-term https://vaadin.com/docs/latest/styling/stylesheets

@mcollovati
Copy link
Contributor Author

Looks good, but we also need this in the styling article for a long-term https://vaadin.com/docs/latest/styling/stylesheets

Update also the stylesheets guide

@mshabarov mshabarov merged commit bb692b6 into main Dec 19, 2025
3 checks passed
@mshabarov mshabarov deleted the chore/add-note-about-context-protocol-for-stylesheets branch December 19, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants