Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Lenix scss compiler

Skildring

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

Skjermbilete

Installasjon

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

Vanlege spm.

Can I use in main theme and child theme together

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

Omtalar

12. januar 2018 1 reply
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.
Les alle 3 omtalar

Bidragsytarar og utviklarar

“Lenix scss compiler” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

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