Converting WeatherForcast App to PWA
Learn how to convert a simple Blazor app to a PWA.
We'll cover the following...
Adding the logo
We need to add an image to be used as a logo for the app. We will do this by following these steps:
- Right-click the
wwwroot
folder and select the “Add, New Folder” option from the menu. - Name the new folder
images
. - Add the image below to the
images
folder.Note: We have already copied it in the playground below.
Press + to interact
At least one image must be included in the manifest file for the PWA to be installed. Now, we can add a manifest file.
Adding a manifest file
To convert the web app into a PWA, we need to add a manifest file. We will do this by following these steps:
- Right-click the
wwwroot
folder and select the “Add, New Item” option from the menu. - Enter