Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile SCSS file which contain NuGet package's '_content/<<library>>/<<name>>.scss' as import statement #480

Open
kmuthukumar23 opened this issue Sep 16, 2021 · 0 comments

Comments

@kmuthukumar23
Copy link

Hi

Thanks in advance.

How can I import the SCSS file from the NuGet package’s static assets folder in the application’s SCSS file? For example, I have created one blazor server application and create the abc.scss file under the ‘wwwroot/styles/’ folder. In that file, I need to import the other test.scss from NuGet package (_content/<>/scss/test.scss).

Like,

abc.scss:

@import '_content/<<library name>>/scss/test.scss';

How can I achieve this? is this possible? Please help me on this.

Thanks

I have used .net 6 preview 7 and Microsoft Visual Studio Professional 2019 Preview
Version 16.11.2 Preview 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant