-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[Blazor] Add preload placeholder to blazorwasm template #61448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Blazor] Add preload placeholder to blazorwasm template #61448
Conversation
@@ -6,6 +6,7 @@ | |||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |||
<title>ComponentsWebAssembly-CSharp</title> | |||
<base href="/" /> | |||
<link rel="preload" id="webassembly" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dotnet-wasm ? dotnet-webassembly ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think changing the name would require changing the SDK side too. If we don't feel strongly about naming, I think going with webassembly is fine. (It's also more consistent with what we use elsewhere, where we just use webassembly if that helps)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This name already landed in different PR for "hosted" mode.
I probably wouldn't prefer dotnet-
prefix as everything here is dotnet.
Whether wasm
or webassembly
is up for discussion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…aceholderTemplate
Add placeholder that
OverrideHtmlAssetPlaceholders=true
feature overrides with link elements to WebAssembly assets to preload.Contributes to #58875