From 54046ccd3611b37b794b312c9a01316308b6b60f Mon Sep 17 00:00:00 2001 From: Argo-Tianyi Date: Sat, 9 Apr 2022 11:30:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20wasm=20=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8E=E9=BB=98=E8=AE=A4=E6=A8=A1=E6=9D=BF=E4=BF=9D=E6=8C=81?= =?UTF-8?q?=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Wasm/BootstrapBlazor.WebAssembly.ClientHost/Program.cs | 2 +- .../BootstrapBlazor.WebAssembly.ClientHost/wwwroot/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Wasm/BootstrapBlazor.WebAssembly.ClientHost/Program.cs b/src/Wasm/BootstrapBlazor.WebAssembly.ClientHost/Program.cs index c1c1c3825..9425fef96 100644 --- a/src/Wasm/BootstrapBlazor.WebAssembly.ClientHost/Program.cs +++ b/src/Wasm/BootstrapBlazor.WebAssembly.ClientHost/Program.cs @@ -11,7 +11,7 @@ using Microsoft.JSInterop; using System.Globalization; var builder = WebAssemblyHostBuilder.CreateDefault(args); -builder.RootComponents.Add("app"); +builder.RootComponents.Add("#app"); builder.RootComponents.Add("head::after"); builder.Services.AddWasmServices(); diff --git a/src/Wasm/BootstrapBlazor.WebAssembly.ClientHost/wwwroot/index.html b/src/Wasm/BootstrapBlazor.WebAssembly.ClientHost/wwwroot/index.html index 1a8326a59..28e1241c0 100644 --- a/src/Wasm/BootstrapBlazor.WebAssembly.ClientHost/wwwroot/index.html +++ b/src/Wasm/BootstrapBlazor.WebAssembly.ClientHost/wwwroot/index.html @@ -25,7 +25,7 @@ - +