Setup SCSS for Blazor

I have a few needs for SASS. Firstly, I need to be able to write SASS (or more correctly, .scss files) in Visual Studio and get all the help that Visual Studio is known for – syntax highlighting, snippets, etc. Ideally, I’d like to keep the SASS files separate from the other files so that I am messing with the wwwroot directory as little as possible. I should be able to build the SASS files into CSS files and have them auto populate the wwwroot directory. Finally, and most importantly, I need to be able to execute a build within a CI/CD platform without relying on Visual Studio and the existance of a specific setup.

https://adrianhall.github.io/asp.net/2022/08/26/adding-sass-to-blazor/

Leave a Reply

Your email address will not be published. Required fields are marked *