Sublime Installing less plugins

Source: Internet
Author: User

1. Install less compiler
NPM install-g Less
? ~ $ lessc-v
LESSC 2.5.1 (less Compiler) [JavaScript]
? ~  $

also install:

NPM install-g Less-plugin-clean-css

2. Install the plugin:
Https://github.com/timdouglas/sublime-less2css

The two components in step 1 are 2 dependent components, after installation. From Preferences > Package Settings > Less2css > User
Setting LESS2CSS does not turn on compression
{
"Minify": false
}

This plugin automatically generates a corresponding. css file when you save the. less file.


3. There are also syntax highlighting plugins. Package control search less the first one is

4. Set the shortcut key for formatting code like eclipse.
[{"Keys": ["ctrl+shift+f"], "command": "Reindent", "args": {"Single_line": false}}]

Sublime Installing less plugins

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.