Installation and setup process of SASS and scss | YourSite

Installation and setup process of SASS and scss


npm init
Give all related information then click enter to create package Install Sass:

npm install --save-dev sass
Install Bootstrap:

npm install bootstrap --save
Install Fontawesome:

npm install --save @fortawesome/fontawesome-free
Install AutoPrefixer:

npm install autoprefixer --save
npm install postcss-cli autoprefixer --save
Change Script in package: From:

  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
To:

  "scripts": {
    "compile:sass": "sass scss:assets/css"
  },
Before Run the below script create folder "scss" in your project and create a file called "style.scss" inside the folder then run. Run Script:

npm run compile:sass
See changed real time changes for that change script to watch:

 "scripts": {
    "compile:sass": "sass --watch scss:assets/css"
  },

🚀 More Blogs You Might Like

Explore more articles and keep learning

Data Science Roadmap: From Complete Beginner to Job-Ready Practitioner
Data-Science
Data Science Roadmap: From Complete Beginner to Job-Ready Practitioner

Data Science Roadmap: From Complete Beginner to Job-Ready Practitioner...

👁 38 2026-07-26
Read More →
How AI Is Changing the Way Software Is Made
Data-Science
How AI Is Changing the Way Software Is Made

How AI Is Changing the Way Software Is Made...

👁 23 2026-07-26
Read More →
8 Mistakes That Quietly Slow Down Talented Developers
Personal-Development
8 Mistakes That Quietly Slow Down Talented Developers

8 Mistakes That Quietly Slow Down Talented Developers...

👁 51 2026-07-12
Read More →
Does religion teach hatred?
islam
Does religion teach hatred?

It is easy to spread hatred in the name of religion, but understanding the true message of religion is much de...

👁 444 2026-06-30
Read More →