If you don't have npm initialized in your project scope, run npm init -y
-
npm install sass --save-dev
Refer to: https://sass-lang.com/documentation/ -
Add, to your package.json, on the scripts object:
"scripts": { "sass": "sass" },
-
Create a new folder Styles, with an app.scss file there - this'll be your global styling solution
-
On your project's .csproj, add: