Fix Blazor migration guidance (#20655)
parent
14ecb2b155
commit
c443aad3d0
|
@ -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`):
|
||||
|
|
Loading…
Reference in New Issue