If you have any query feel free to chat us!
Happy Coding! Happy Learning!
To set up SCSS in a project, we need to follow these steps:
npm install node-sass --save-dev
import './scss/styles.scss';
sass --watch src/scss/styles.scss src/css/styles.css
Alternatively, we can add a script to package.json to run this command using npm:
"scripts":Copy code
"watch-sass": "sass --watch src/scss/styles.scss src/css/styles.css"
}```
Now we can run ```npm run watch-sass``` to compile the SCSS file and watch for changes.
5. Link the generated CSS file in the HTML:
```<link rel="stylesheet" href="/css/styles.css">```
Now the styles defined in SCSS should be applied to the HTML.
Comments: 2
I am not able to access videos from second class and further. I have already completed first class
When will I get my course?
Now, Your query was resolved.