Fix RCL template to have correct filename for scoped CSS (#25870)

This commit is contained in:
Steve Sanderson 2020-09-14 17:13:49 +01:00 committed by GitHub
parent 472e8297a7
commit ccbc46c076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 11 deletions

View File

@ -33,6 +33,7 @@
"exclude": [
"_Imports.razor",
"Component1.razor",
"Component1.razor.css",
"ExampleJsInterop.cs",
"wwwroot/**"
]

View File

@ -0,0 +1,6 @@
.my-component {
border: 2px dashed red;
padding: 1em;
margin: 1em 0;
background-image: url('background.png');
}

View File

@ -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');
}