❔ 'Can't find stylesheet to import.' using SASS with 'Web Compiler 2022+' extension in ASP.NET C MVC
I have created an ASP.NET Core MVC app and I am using several SCSS files which I need to link together. All is good when using a relative path
../../file.ext
, but when I try to use an absolute path, I get Error: Can't find stylesheet to import.
. I believe I have to configure something in compilerconfig.json
but I can't seem to figure out how.
Code:
File: style.scss
Directory structure: (attached image)
Please ping me if you reply to this post, thanks!1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.