How to set up SCSS in VS Code?

How to set up SCSS in VS Code?

learn how to set up SCSS in VS Code

If you're a beginner & don't know how to set up SCSS then you're in right place. In this blog, I will teach you how to set up SCSS.

Try this using Extensions:

Install this Live Sass Compiler Extension from VS Code Marketplace.

Live Sass Compiler

After installing this check these steps:

  1. create index.html

  2. Create a folder called SCSS or SASS inside the main folder.

  3. create style.css inside SCSS folder

SASS

Now click on Watch Sass button it will automatically watch SCSS.

Watch Sass

After clicking this button you will see some files are created automatically.

Extra files

You need to connect CSS to the index.html

<link rel="stylesheet" href="/SCSS/style.css">

That's it. Now you can code SCSS here.