Skip to content

Commit 5f2fe0b

Browse files
authored
[Templates] Adjust _Imports include condition (#4329)
* Fix Client projects in Web App templates * Alter _Imports include condition
1 parent c666b81 commit 5f2fe0b

File tree

1 file changed

+2
-0
lines changed
  • src/Templates/templates/blazorweb-csharp-10/BlazorWebCSharp.1/Components

1 file changed

+2
-0
lines changed

src/Templates/templates/blazorweb-csharp-10/BlazorWebCSharp.1/Components/_Imports.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
@using BlazorWebCSharp._1
1515
@*#if (UseWebAssembly) -->
1616
@using BlazorWebCSharp._1.Client
17+
##endif*@
18+
@*#if (UseWebAssembly && SampleContent) -->
1719
@using BlazorWebCSharp._1.Client.Layout
1820
##endif*@
1921
@using BlazorWebCSharp._1.Components

0 commit comments

Comments
 (0)