We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please implement this feature based on the official specs of: less/less.js#212
The text was updated successfully, but these errors were encountered:
This is already implemented as we use it in one of our projects:
input.less has these lines:
@import "reset"; @import "mixins"; @import "common"; @import "site";
(Note: each of these are referencing .less files in the same folder, like mixins.less, site.less)
Then in the starting file you have this:
require 'lessc.inc.php';
try { if (array_key_exists('HTTP_HOST', $_SERVER)) { if (stripos($_SERVER['REQUEST_URI'], 'admin') !== FALSE) lessc::ccompile('less/admin.less', 'css/admin.css'); else lessc::ccompile('less/input.less', 'css/site.css'); }
} catch (exception $ex) { exit('lessc fatal error:'.$ex->getMessage()); }
This creates 1 CSS file in our project that we reference in the header and it loads. Is this not what your asking for?
Sorry, something went wrong.
Strange, but in my case it is not already implemented, i had to fix it: #396
I tried multiple versions, including the latest.
No branches or pull requests
please implement this feature based on the official specs of: less/less.js#212
The text was updated successfully, but these errors were encountered: