Configuration and basic usage of front-end tool Sass

Source: Internet
Author: User

Disclaimer: There are a plethora of similar tutorials on the web, just documenting your own installation process. So that you can use it later.

Environment configuration process:

1, install SASS and environment:

Just as gulp is based on node. JS, Sass is ruby-based, so be sure to install Ruby before using sass.

Official download link, the official introduction, the download is the Ruby 2.2.4 (x64) version.

When installing, be careful not to change the default installation path. and select options in the box

After you install the options in the Start menu Open box:

Then, on the command line, enter:

Gem Install Sass

Wait for the system to install automatically

Common Command line:

Sass-v can view the currently installed Sass version;

Sass-h can get sass related command-line help tools;

GEM Update sass can upgrade the currently installed Sass version;

Gem Uninstall Sass To uninstall the currently installed Sass version;

2, compile with sass:

Currently, SASS supports three modes of operation:

1, command-line compilation;

2, GUI compilation;

3, automatic compilation;

This time, the main discussion of GUI compiler tool:

Koala, the basic can meet the use, can realize automatic monitoring scss source file changes automatically compiled;

Codekit, can be used as an alternative;

Finish

"The usual syntax will be updated later in the use process"

Configuration and basic usage of front-end tool Sass

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.