Message of the day:
Welcome to SilverStripe | Current stable: https://goo.gl/C4F1T9 | Feature requests: https://goo.gl/EcQ34L | Community Forum: https://forum.silverstripe.org | StripeCon EU 2019! https://stripecon.eu
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
You can load it using
ThemedCSS() I'd have thought
@dorsetdigital Hmm, I'm not sure what I'm doing wrong (probubly something super dumb) but assets don't seem to be loading in relative to the themes resource folder. For example I have a css file that is in my theme under
themes/sl-directory-theme/dist/css/css.min.css and its being exposed to
public/_resources/themes/sl-directory-theme/dist/css/css.min.css. But when I place
dist/css/css.min.css in my template it does not load in properly which makes sense to me as the base tag is set to the base of the site (e.g. http://www.mysite.com/). So what did you mean when you said that
All site assets are loaded via the themed resource loader
I'll have to look into how I can fix my minds garbage collection processes
It's scary how much I can forget when I switch projects for a bit. I feel like a horse with the blinders on. One track mind. Anything that's not needed for the current task gets dumped.
That's not to say it isn't a potential issue... just not one I've encountered 🙂
Been working with Python projects for too long
@dorsetdigital oh right...