Rename site.css to app.css. Fixes #19779
This commit is contained in:
parent
c877f88026
commit
05ee136e87
|
|
@ -38,7 +38,7 @@ namespace Microsoft.AspNetCore.Components.WebAssembly.Build
|
|||
|
||||
// Verify link item assets are in the publish directory
|
||||
Assert.FileExists(result, blazorPublishDirectory, "js", "LinkedScript.js");
|
||||
var cssFile = Assert.FileExists(result, blazorPublishDirectory, "css", "site.css");
|
||||
var cssFile = Assert.FileExists(result, blazorPublishDirectory, "css", "app.css");
|
||||
Assert.FileContains(result, cssFile, ".publish");
|
||||
Assert.FileDoesNotExist(result, "dist", "Fake-License.txt");
|
||||
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@
|
|||
</Content>
|
||||
|
||||
<!-- This asset should be ignored as a static web assets as it defines CopyToPublishDirectory="false" -->
|
||||
<Content Update="wwwroot\css\site.css" CopyToPublishDirectory="false" />
|
||||
<Content Update="wwwroot\css\app.css" CopyToPublishDirectory="false" />
|
||||
|
||||
<!-- This asset should be treated as a static web asset and copied into the right location defined by its link attribute. -->
|
||||
<Content Include="LinkToWebRoot\css\site.css" Link="wwwroot\css\site.css" />
|
||||
<Content Include="LinkToWebRoot\css\app.css" Link="wwwroot\css\app.css" />
|
||||
|
||||
<!-- This asset should not be treated as a static web asset as it is being linked out of the wwwroot folder. -->
|
||||
<Content Update="wwwroot\Fake-License.txt" Link="Excluded-Static-Web-Assets\Fake-License.txt" />
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<title>standalone</title>
|
||||
<base href="/" />
|
||||
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="css/site.css" rel="stylesheet" />
|
||||
<link href="css/app.css" rel="stylesheet" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<title>Blazor standalone</title>
|
||||
<base href="/" />
|
||||
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="css/site.css" rel="stylesheet" />
|
||||
<link href="css/app.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<app>Loading...</app>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<title>Wasm.Authentication.Client</title>
|
||||
<base href="/" />
|
||||
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="css/site.css" rel="stylesheet" />
|
||||
<link href="css/app.css" rel="stylesheet" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<title>Razor Components</title>
|
||||
<base href="~/" />
|
||||
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="css/site.css" rel="stylesheet" />
|
||||
<link href="css/app.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<component type="typeof(App)" render-mode="Server" />
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<title>ComponentsWebAssembly-CSharp</title>
|
||||
<base href="/" />
|
||||
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="css/site.css" rel="stylesheet" />
|
||||
<link href="css/app.css" rel="stylesheet" />
|
||||
<!--#if PWA -->
|
||||
<link href="manifest.json" rel="manifest" />
|
||||
<link rel="apple-touch-icon" sizes="512x512" href="icon-512.png" />
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<title>@ViewBag.Title</title>
|
||||
<link href="~/css/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="~/css/site.css" rel="stylesheet" />
|
||||
<link href="~/css/app.css" rel="stylesheet" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
"wwwroot/css/open-iconic/FONT-LICENSE",
|
||||
"wwwroot/css/open-iconic/ICON-LICENSE",
|
||||
"wwwroot/css/open-iconic/README.md",
|
||||
"wwwroot/css/site.css",
|
||||
"wwwroot/css/app.css",
|
||||
"wwwroot/favicon.ico",
|
||||
"wwwroot/index.html",
|
||||
"wwwroot/sample-data/weather.json",
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
"Client/wwwroot/css/open-iconic/FONT-LICENSE",
|
||||
"Client/wwwroot/css/open-iconic/ICON-LICENSE",
|
||||
"Client/wwwroot/css/open-iconic/README.md",
|
||||
"Client/wwwroot/css/site.css",
|
||||
"Client/wwwroot/css/app.css",
|
||||
"Client/wwwroot/favicon.ico",
|
||||
"Client/wwwroot/index.html",
|
||||
"Client/_Imports.razor",
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
"wwwroot/css/open-iconic/FONT-LICENSE",
|
||||
"wwwroot/css/open-iconic/ICON-LICENSE",
|
||||
"wwwroot/css/open-iconic/README.md",
|
||||
"wwwroot/css/site.css",
|
||||
"wwwroot/css/app.css",
|
||||
"wwwroot/favicon.ico",
|
||||
"wwwroot/icon-512.png",
|
||||
"wwwroot/index.html",
|
||||
|
|
|
|||
Loading…
Reference in New Issue