plugin-icon

Lenix scss compiler

Автор: yonifre·
An excellent way to write Scss in wordpress
Рейтинг
5/5
Версия
1.2
Активные установки
900
Последние изменения
May 21, 2022

A useful plugin for developers writing SCSS. The plugin allows you to write SCSS directly on the server (via FTP) without the need for a local compiler.

How It Works?

Choose a source folder for SCSS and a target folder for CSS. Write the SCSS code in the file on the source folder, and it automatically creates a CSS file in the target folder.

What’s included?

  • Option for multiple source and destination folders.
  • Allows you to set a folder in the entire wp-content space.
  • Performance — only when one of the source files change — it re-compiling itself.
  • After development you can turn off / delete the plugin without fear, and all the files are stay where they were.
  • Allows you to develop a theme and plugin at the same time.

Example:

source: themes/your-theme/assets/scss/style.scss

body { color: black; .main { background: red; } }

target: themes/your-theme/assets/css/style.css

body { color: black; } body .main { background: red; }

— pay attention! If the file already exists in the destination folder — it will be overwritten by the SCSS file

Проверено на
WordPress 5.9.12
Этот плагин можно скачать и использовать при .