This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

axomat
axomat

October is working really smoothly, really good first release!

I just need some advice on the best place to store less/css files to override the default values supplied with a plugin. I presume it is best to leave the default files alone so that they can be updated by the plugin developer but is there a best practice place to store the new local values? Will the less file get automatically compiled or not?

Thanks

clem_d
clem_d

I am currently having issues with this. Would love a hook similar to addCss or addJs from inside a component

$this->addLess('assets/less/plugin.less')

I am snooping around the way themes incorporate less files into the output. ideally i want to add to the combined assests object that combines less files into a single css include in the html. Not sure if i have to hack the code in somewhere or there is a way to plug into this process more cleanly. Would love some help with this though

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.