Creating the NewTask Component
Learn how to add and use components in Blazor WebAssembly.
We'll cover the following...
We need to add a NewTask component. We do this as follows:
- Return to Visual Studio.
- Right-click the
Sharedfolder and select the “Add, Razor Component” option from the menu. - Name the new component
NewTask. - Click the “Add” button.
- Remove the
h3element. - Add the following markup:
...
Ask