Hello everybody,
I try to version my CSS files so people do not need to force refresh if the css files changed.
For the frontend, this works very well using addCss() and sending the css files in an array so the combiner is triggered.
However, in the backend, I get an error using the same code:
$this->addCss(['assets/css/style.scss']);
Backend\Classes\Controller::getLocalPath(): Argument #1 ($relativePath) must be of type string, null given, called in C:\git\php\laravel\mch-v2.0\modules\system\traits\AssetMaker.php on line 198
~/modules/system/traits/AssetMaker.php line 464
Since the addCss() is supposed to work in the backend, I wonder if this is an OctoberCMS bug.
Thx for any help