Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

Lenix scss compiler

Descriere

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

Capturi ecran

Instalare

‪‪1. Download the link.‬‬
‪‪2. Upload the zip file via the Plugin upload.‬‬
‪‪3. Activate the plugin.‬‬
‪‪4. Edit in the settings page.

Întrebări frecvente

Can I use in main theme and child theme together

Yes, you can add unlimited locations even in a plugin.

Recenzii

12 ianuarie 2018 1 răspuns
Really doing the job!! Thanks!! Really a great tool! Could it be possible like in WP-SCSS to have an option to choose the level of compilation: nested, expanded, compact, compressed? And another problem: sometimes the CSS file isn't generated. I did modification on a partial file, refresh the page on my webbrowser, and nothing happens. And if I manually suppress the CSS generated file, I can indeed see that nothing is generated. The only way I found to immediately make it works again (and not waiting couples of minutes), was to deactivate / reactivate the plugin. So a problem may be somewhere.
i found this plugin very useful when i need to compile a sass to css by just few click without getting out wordpress workspace. when i deactivate the plugin compiled files still in directories. AAA+++ RATE.
Citește toate cele 3 recenzii

Contributori și dezvoltatori

„Lenix scss compiler” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Istoric modificări

1.2

  • Update scssphp library

1.1.1

  • Improved UI

1.1.0

  • Fix: Reduce resource consumption
  • Tweak! Adding disable compiler button
  • Tweak! Adding „Compile Now” button

1.0.0

  • Initial Public Beta Release