Skip to content

Sublime Text 2 Plugin to compile less files to css on save

Notifications You must be signed in to change notification settings

yingban/sublime-less2css

 
 

Repository files navigation

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 (you may need nodejs-legacy - see issue #23)
  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?).

中文版详细安装教程

About

Sublime Text 2 Plugin to compile less files to css on save

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published