Home>Article>Development Tools> How vscode operates scss

How vscode operates scss

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼 Original
2019-12-10 17:16:49 3784browse

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输出文件路径

PHP Chinese website, there are a large number of freevscode 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!

Statement:
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