Skip to content

Loading snowboard.extras.css #514

Answered by bennothommo
wverhoogt asked this question in Q&A
Discussion options

You must be logged in to vote

@wverhoogt if you load in the snowboard.extras.css file manually in your template, then that StylesheetLoader will see that it's already loaded and won't try to inject it.

I think the reason I had to do this was because there's no way for us to know the base URL for the site directly in JavaScript (we'd have to pass it through somehow from the PHP side), so this was a safe assumption, but I'll make a note of it as an issue to look at.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@wverhoogt
Comment options

@bennothommo
Comment options

Answer selected by wverhoogt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants