Adding the Store Page
Learn how to create a store page and demonstrate how the state is lost in Blazor WebAssembly.
We'll cover the following...
We'll cover the following...
To add a store, we need to add a Store component to our web app. We do this as follows:
- Open the
Shared\NavMenu.razorpage. - Add the following markup before the closing
ultag:
The preceding markup adds a menu option for the “Store” page.
-
Right-click the
Pagesfolder and select the “Add, Razor Component” option from the menu. -
Name the new component
Store. ...