简体   繁体   中英

Connecting scss to css with Live Sass Compile

I'm using the 'Live Sass Compile' extension on Visual Studio Code.

What is the right path to connect css2.scss to css2.js ?

在此处输入图片说明

在此处输入图片说明

Maybe a useful article

Assuming that you want css2.scss to compile into the parent folder as css2.css

Try setting the savePath using the relative path notation like, and move one level up with ../

savePath: "~/../"

Note: It would be good to have all the scss in a separate folder, there are a few .scss file in parent css folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM