Skip to content

Commit d7d5f41

Browse files
Optimize [BLAZOR][WASM] project template for PWA applications. (dotnet#33498)
* Add `192x192` icon to PWA Project template. * Add `PWA` flag to [BLAZOR][WASM] project template.
1 parent 72779f8 commit d7d5f41

File tree

2 files changed

+3
-1
lines changed
  • src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp

2 files changed

+3
-1
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/.template.config/template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"classifications": [
55
"Web",
66
"Blazor",
7-
"WebAssembly"
7+
"WebAssembly",
8+
"PWA"
89
],
910
"name": "Blazor WebAssembly App",
1011
"defaultName": "BlazorApp",

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/wwwroot/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<!--#if PWA -->
1717
<link href="manifest.json" rel="manifest" />
1818
<link rel="apple-touch-icon" sizes="512x512" href="icon-512.png" />
19+
<link rel="apple-touch-icon" sizes="192x192" href="icon-192.png" />
1920
<!--#endif -->
2021
</head>
2122

0 commit comments

Comments
 (0)