Skip to content

Commit b5aee1c

Browse files
committed
OverrideHtmlAssetPlaceholders 👉 WriteImportMapToHtml
1 parent 7eab3e9 commit b5aee1c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎aspnetcore/blazor/fundamentals/static-files.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,11 @@ The following configuration must be present in the `wwwwoot/index.html` file of
228228
</html>
229229
```
230230

231-
In the project file (`.csproj`), the `<OverrideHtmlAssetPlaceholders>` property is set to `true`:
231+
In the project file (`.csproj`), the `<WriteImportMapToHtml>` property is set to `true`:
232232

233233
```xml
234234
<PropertyGroup>
235-
<OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders>
235+
<WriteImportMapToHtml>true</WriteImportMapToHtml>
236236
</PropertyGroup>
237237
```
238238

‎aspnetcore/release-notes/aspnetcore-10/includes/blazor.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The following changes must be made in the `wwwwoot/index.html` file to adopt the
155155
</html>
156156
```
157157
158-
In the project file (`.csproj`), add the `<OverrideHtmlAssetPlaceholders>` property set to `true`:
158+
In the project file (`.csproj`), add the `<WriteImportMapToHtml>` property set to `true`:
159159
160160
```diff
161161
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
@@ -164,7 +164,7 @@ In the project file (`.csproj`), add the `<OverrideHtmlAssetPlaceholders>` prope
164164
<TargetFramework>net10.0</TargetFramework>
165165
<Nullable>enable</Nullable>
166166
<ImplicitUsings>enable</ImplicitUsings>
167-
+ <OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders>
167+
+ <WriteImportMapToHtml>true</WriteImportMapToHtml>
168168
</PropertyGroup>
169169
</Project>
170170
```

0 commit comments

Comments
 (0)