Skip to content
Sublime Text 2 Plugin to compile less files to css on save
Python
Find file
Pull request Compare This branch is 1 commit ahead, 142 commits behind timdouglas:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap
Main.sublime-menu
README.md
compiler.py
less2css.py
less2css.sublime-settings

README.md

sublime-less2css

Sublime Text 2 Plugin to compile less files to css on save Requires lessc installed on PATH

Features

  • Automatically compile less -> css on save when editing a .less file in sublime
  • Reports compilation errors
  • Compile all less files in a directory to css files

NB This plugin requires lessc to be in your execution path

Installation

Install The Plugin

Either clone into your sublime packages directory, or just use Package Control

Install Requirements

Less2Css requires lessc to compile less to css.

Mac OS X / Linux(Ubuntu/Debian…)

  1. Install NodeJS
  2. Install npm(NodeJS Package Manager)
  3. Install less
npm install less -gd

Windows

  1. Clone less.js-windows
  2. Add the path of your less.js-windows to PATH environment variable(How to?).

中文版详细安装教程

Something went wrong with that request. Please try again.