Fix Blazor migration guidance (#20655)

pull/20656/head
Luke Latham 2020-11-18 08:47:27 -06:00 committed by GitHub
parent 14ecb2b155
commit c443aad3d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -358,11 +358,11 @@ For a Blazor WebAssembly project, including the *`Client`* project of a hosted B
1. Update other packages to their latest versions. The latest versions can be found at [NuGet.org](https://www.nuget.org).
1. In `wwwroot/index.html`, change the element that loads the `App` component:
1. In `wwwroot/index.html`, change the element that loads the `App` component to a `<div>` element with an `id` set to `app`:
```diff
-<app>Loading...</app>
+<app id="app">Loading...</app>
+<div id="app">Loading...</div>
```
1. In `Program.Main` (`Program.cs`):