SASS cannot be directly linked via a stylesheet. It is a CSS preprocessor and is compiled down to regular css. You'll wanna install sass using npm (npm i sass) and do npx sass --watch scss:css for it to compile. (here scss is the sass directory and css is the css directory, it may be different for you). If you do npm i sass -g you wont need to include the npx since you installed it globally. You can then simply link your css to your index.html.
SASS cannot be directly linked via a stylesheet. It is a CSS preprocessor and is compiled down to regular css. You'll wanna install sass using npm (npm i sass) and do npx sass --watch scss:css for it to compile. (here scss is the sass directory and css is the css directory, it may be different for you). If you do npm i sass -g you wont need to include the npx since you installed it globally. You can then simply link your css to your index.html.
In the end you're always connecting your .css file to your style sheet. Never the scss/sass file itself.
You could use the VSCode (or any other IDE) Sass compiler plugin. But I prefer to do it manually as the compilers sometimes result in bugs for me.
I personally do the following:
In your terminal enter the following to install in your project directory:
npm install sass --save(previously dart-sass)
npm install bootstrap --save
npm install autoprefixer
or in one line:
npm install sass bootstrap autoprefixer --save
Within your project root create a "scss" folder, and within that, a file named "styles.scss"
This will be the file from which all imported sass is compiled into your destination.css file.
Then, you must create a script in your package.json to the scripts. I use the following:
"compileSass": "sass --watch scss:public/css"
Please note that the --watch means that whenever you save your modified.
Please note that the public/css dictates where the compiled file will be saved relative to your scss folder you just created.
In a new tab in your terminal, start your compiler by entering
npm run compileSass
Or whatever name you gave to your script in the package.json file.
THEN when you link your CSS file as a stylesheet it will be the compiled CSS that was generated from your styles.scss.
I used to do a lot of front end work but have been out of the game for a while and am just starting to get back into it. Years ago I remember using Node.js to watch and compile my scss files into css. What's the preferred (easiest) method these days? I'm finding a lot of different solutions online at this point and it seems there's even extensions available for VSCode that basically handle it for you.
Also... one thing I seem to be completely drawing a blank on, what's the ideal process to set this up for multiple projects? Is it even possible to set it and forget it for multiple projects or by nature, will you always have to run some code or do some button pressing while you're working to get the compiler to watch for code changes? That's one piece I just can't remember how I did it before.
sass - Converts scss to css - Stack Overflow
What Are People Using To Convert Sass Files to CSS?
SCSS and auto compiling into CSS
How do you compile your scss files and how you make production ready css code?
Videos
If you click on the title CSS (SCSS) in CodePen (don't change the pre-processor with the gear) it will switch to the compiled CSS view.

In terminal run this command in the folder where the systlesheets are:
sass --watch style.scss:style.css
Source:
http://sass-lang.com/
When ever it notices a change in the .scss file it will update your .css
This only works when your .scss is on your local machine. Try copying the code to a file and running it locally.
Hi
I was using deanwiseman/DartSassBuilder: Sass builder (dart compiler) for .NET projects (github.com)
but I am dockerizing my project and it won't work as my docker only targets .net 8 and apparently this needs .net 8.
I guess I could install .net 6 in my docker but seems kind of over kill just for this one .dll to work.
add support for dotnet 7 Β· Issue #24 Β· deanwiseman/DartSassBuilder (github.com)
Dot net upgrade by carlosmachina Β· Pull Request #34 Β· deanwiseman/DartSassBuilder (github.com)
Seems like it was requested and even a fix but no one is merging the fix in so looks like this project is dead.