Fix RCL template to have correct filename for scoped CSS (#25870)
This commit is contained in:
parent
472e8297a7
commit
ccbc46c076
|
|
@ -33,6 +33,7 @@
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"_Imports.razor",
|
"_Imports.razor",
|
||||||
"Component1.razor",
|
"Component1.razor",
|
||||||
|
"Component1.razor.css",
|
||||||
"ExampleJsInterop.cs",
|
"ExampleJsInterop.cs",
|
||||||
"wwwroot/**"
|
"wwwroot/**"
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
.my-component {
|
||||||
|
border: 2px dashed red;
|
||||||
|
padding: 1em;
|
||||||
|
margin: 1em 0;
|
||||||
|
background-image: url('background.png');
|
||||||
|
}
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
/*
|
|
||||||
This file is to show how CSS and other static resources (such as images) can be
|
|
||||||
used from a library project/package.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.my-component {
|
|
||||||
border: 2px dashed red;
|
|
||||||
padding: 1em;
|
|
||||||
margin: 1em 0;
|
|
||||||
background-image: url('background.png');
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue