Browser development allows developers to create SCSS files and store the data in configuration for version control. The editor configuration is portable in three formats CSS, SCSS and Drupal configuration and the editor is flexible and encourages component style development allowing it to be used on multiple projects.
If used in conjunction with layout_builder_styles it allows an editor to add any class to a block or section using the layout manager giving them the ability to create pages that are highly flexible and needing less assistance from a developer.
The module can be used with any theme and the compiled SCSS creates a CSS file that can be added to any library's file and mitigates any security and performance issues by the module being installed.
What can it do?
- SCSS editor with the ability to create multiple files.
- Live editor that displays updates created by the developer.
- Automatic creation of SCSS files on the file system.
- Automatically compiles SCSS into CSS and saves it.
- Saves SCSS in configuration.
Images showing the modules functionality
REQUIREMENTS
Drupal 10 or 11 are needed as well as 'scssphp/scssphp' library which is installed
in the vendor directory when using composer.
browser_development_assist is not required but is recommended. It accesses Browser Development configuration so that this module can be uninstalled on production mitigating possible security and performance issues.
INSTALLATION
Install using Composer then use Drush or the Drupal UI to enable the module.
CONFIGURATION
There is no configuration install and navigate to
admin/browser-development/editor
start coding your SCSS
Attachment | Size |
---|---|
scss-editor.png | 157.58 KB |
scss-storage.png | 134.12 KB |
scss-configuration.png | 136.44 KB |
Browser development SCSS partials files and multisite compiled CSS files | 47.55 KB |
Project information
- Created by Purencool on , updated
- Drupal 10 is here!
Works with Drupal 10 and 11
- Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.