Uni-app pre-compiler error: The code uses scss/sass language, but the corresponding compiler plug-in is not installed, please go to the plug-in market to install the plug-in

One, error screenshot

Insert picture description here

Second, the reason for the error

The reason for the above phenomenon is that the relevant compiler is not installed.

Three, the solution

  1. Open HBuilderX, click the tool option, and then click plug-in installation
    Insert picture description here

  2. Enter the plug-in installation interface, click "install new plug-in", then click "Go to plug-in market to install §…" to download the corresponding plug-in.
    Insert picture description here

  3. Find the "scss/sass compile" plug-in and enter the download interface. There are two ways: "Import the plug-in using HBuilderX" and "Download the plug-in zip". Please pay attention to the following precautions.
    Insert picture description here
    Insert picture description here

Four, plug-in use precautions

Insert picture description here

Guess you like

Origin blog.csdn.net/zhouqiping/article/details/108410431