Home  >  Article  >  Development Tools  >  How to compile less into wxss with vscode

How to compile less into wxss with vscode

尚
Original
2020-03-26 16:46:493271browse

How to compile less into wxss with vscode

How to compile less into wxss using vscode:

The first step is to download the Easy LESS plug-in from the vscode store.

How to compile less into wxss with vscode

The second step is to configure the settings.json file (File - Preferences - Settings - Search Settings settings.json)

Add the following code:

"less.compile": {
        "outExt": ".wxss"
    }

If you write code in the less file at this time, a .WXSS file will be automatically generated after saving it

How to compile less into wxss with vscode

Recommended learning: vscode tutorial

The above is the detailed content of How to compile less into wxss with vscode. 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