Module to parse LESS files via PHP.
Modules that have more to do with assisting development of a site rather than managing its content.
Close to stable, but users are advised to be cautious and test thoroughly.*
|Date Added||January 13, 2019|
|Last Updated||January 15, 2019|
This module's files should be placed in /site/modules/RockLESS/
How to install or uninstall modules
This is a helper module for parsing LESS and returning the resulting CSS file or content. It checks the LESS file for changes and recreates the CSS file only when needed. See the comments in the module file for options.
This is an exemplary return of the getCSS() method:
And this is how you can use a less file as theme in your HTML markup:
<link rel="stylesheet" type="text/css" href="<?= $modules->get('RockLESS')->getCSS($config->paths->templates . 'less/theme.less')->cssUrl; ?>">
No comments yet. Be the first to post!
Your e-mail is kept confidential and not included with your comment. Website is optional.
- Admin Helpers
- Core Modules
- Development Tools
- Field Types
- Input Fields
- Language Modules
- Language Packs
- Markup Generation
- Premium Modules
- Process Modules
- Proof of Concept
- Site Profiles
- Social, Feeds, Services
- Text Formatters
- Other Modules
- Users and Access
*Use modules at your own risk. There are no guarantees or warranties. It is recommended that you backup your site and database before installing new modules.