這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Lenix scss compiler

外掛說明

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

螢幕擷圖

安裝方式

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

常見問題集

Can I use in main theme and child theme together

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

使用者評論

2018 年 6 月 23 日
Loadtime TTFB over 10 seconds without page load Nothing more to say. Page load first again, after delate plugin
2018 年 1 月 12 日 1 則留言
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.
2017 年 11 月 4 日
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.
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Lenix scss compiler〉的開發相關工作。

參與者

將〈Lenix scss compiler〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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