Home > Development Tools > VSCode > How vscode operates scss

How vscode operates scss

爱喝马黛茶的安东尼
Release: 2019-12-10 17:16:49
Original
3944 people have browsed it

How vscode operates scss

1. The compilation of sass depends on the Ruby environment, so install ruby ​​first;

2. After installing Ruby, enter gem sass on the command line to install Sass;

3. Find the easy sass plug-in in the vscode extension and install it;

4. Next, configure: Click "File-Preferences-Settings" in the vscode menu bar to open settings.json Global configuration file:

How vscode operates scss

/** Easy Sass 插件 **/
    "easysass.formats": [
        {
            "format": "compressed",  // 压缩
            "extension": ".css"
        }
    ],
    "easysass.targetDir": "./css/"  // 自定义css输出文件路径
Copy after login

PHP Chinese website, there are a large number of free vscode introductory tutorials, everyone is welcome to learn!

The above is the detailed content of How vscode operates scss. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template