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

WB Gram Panchayat Mock Test 2026 | Free Practice Test for Exam Preparation
youth-society
WB Gram Panchayat Mock Test 2026 | Free Practice Test for Exam Preparation

Practice free WB Gram Panchayat Mock Test online for 2026 exam preparation. Improve your speed, accuracy, and ...

👁 56 2026-06-14
Read More →
What is Bounce Rate in SEO? Complete Guide for Beginners
search-engine-optimization
What is Bounce Rate in SEO? Complete Guide for Beginners

Learn what bounce rate is in SEO, how it is calculated, why it matters, common causes of high bounce rates, an...

👁 38 2026-05-24
Read More →
Comprehensive Interviewer Guide - Detailed Article
skill
Comprehensive Interviewer Guide - Detailed Article

Learn how to conduct effective interviews with this comprehensive interviewer guide. Explore hiring strategies...

👁 60 2026-05-22
Read More →
Five Industry Shifts Reshaping the AI Ecosystem (2026 Trends)
skill
Five Industry Shifts Reshaping the AI Ecosystem (2026 Trends)

Five Industry Shifts Reshaping the AI Ecosystem (2026 Trends)...

👁 48 2026-05-19
Read More →