how to compile scss to css
// Install node-sass
npm i node-sass
// In package.json:
"scripts": {
...
"scss": "node-sass — watch scss -o css"
}
// Run the compilation
npm run scss
how to compile scss to css
// Install node-sass
npm i node-sass
// In package.json:
"scripts": {
...
"scss": "node-sass — watch scss -o css"
}
// Run the compilation
npm run scss
sass run and compile css
NOTE: you must have installed NPM Package manager if you wanna continue with this method!
EXAMPLE,use --watch in case you want to get it compiled in real time! :
FIRST: install SASS in your project, run this: npm install -g sass
SECOND, run this:
sass --watch scss/styles.scss css/styles.css
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us