Answer the question
In order to leave comments, you need to log in
Add less to kohana?
Hello! In the controller I try to add a less file, the script connected, but there is a problem with the file.
\Assets::css('page3', base_UI.'css/style.less');
This construction automatically adds rel="stylesheet", and for less you need rel="stylesheet/less"
How to replace this particular problem in this line?
Answer the question
In order to leave comments, you need to log in
Try like this
Assets::css('page3', base_UI.'css/style.less' ,NULL, ['rel' => 'stylesheet/less']);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question