|
@using Syncfusion.Blazor.Buttons
<SfButton CssClass="e-primary test" >Button</SfButton> |
|
$red: red;
.test {
background-color: $red !important;
border-radius: 20px;
} |
|
[
{
"outputFile": "wwwroot/styles/custom.css",
"inputFile": "styles/custom.scss",
"options": {
"includePath": "node_modules/@syncfusion"
}
}
] |
No i don't want to save compiled css file to wwwroot, i want compiled css file is stick together with my component.
For example in this image, i have Demo.razor.scss file and i compiled it to Demo.razor.css file and these file are stick together with Demo.razor. Can it be possible?
|
@using Syncfusion.Blazor.Buttons
<SfButton CssClass="e-primary test" >Demo</SfButton> |
|
$red: red;
.test {
background-color: $red !important;
border-radius: 20px;
} |
|
[
{
"outputFile": "Component/Demo.razor.css",
"inputFile": "Component/Demo.razor.scss",
"options": {
"includePath": "node_modules/@syncfusion"
}
}
] |
|
<link rel='nofollow' href="Component/Demo.razor.css" rel="stylesheet" /> |