Skip to content

Commit 11dafbd

Browse files
committed
doc: 更新示例
1 parent d350a5b commit 11dafbd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/BootstrapBlazor.Shared/Components/Samples/Layouts.razor

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
Introduction="@Localizer["LayoutsUpAndDownIntro"]"
4141
Name="UpAndDown">
4242
<div class="layout-demo">
43-
<Layout ShowFooter="true">
43+
<Layout ShowFooter="true" AdditionalAssemblies="[typeof(MainLayout).Assembly]">
4444
<Header>
4545
<div>Header</div>
4646
</Header>
@@ -58,7 +58,7 @@
5858
Introduction="@Localizer["LayoutsMiddleLeftRightIntro"]"
5959
Name="MiddleLeftRight">
6060
<div class="layout-demo">
61-
<Layout ShowFooter="true">
61+
<Layout ShowFooter="true" AdditionalAssemblies="[typeof(MainLayout).Assembly]">
6262
<Header>
6363
<div>Header</div>
6464
</Header>
@@ -79,7 +79,7 @@
7979
Introduction="@Localizer["LayoutsLeftRightIntro"]"
8080
Name="LeftRight">
8181
<div class="layout-demo">
82-
<Layout ShowFooter="true" IsFullSide="true">
82+
<Layout ShowFooter="true" IsFullSide="true" AdditionalAssemblies="[typeof(MainLayout).Assembly]">
8383
<Header>
8484
<div>Header</div>
8585
</Header>
@@ -100,7 +100,7 @@
100100
Introduction="@Localizer["LayoutsCustomPercentIntro"]"
101101
Name="CustomPercent">
102102
<div class="layout-demo">
103-
<Layout ShowFooter="true" SideWidth="200">
103+
<Layout ShowFooter="true" SideWidth="200" AdditionalAssemblies="[typeof(MainLayout).Assembly]">
104104
<Header>
105105
<div>Header</div>
106106
</Header>
@@ -140,7 +140,7 @@
140140
@((MarkupString)Localizer["LayoutsAppTips7"].Value)
141141
</Tips>
142142
<div class="layout-demo1">
143-
<Layout ShowFooter="true" SideWidth="160px" Menus="IconSideMenuItems1">
143+
<Layout ShowFooter="true" SideWidth="160px" Menus="IconSideMenuItems1" AdditionalAssemblies="[typeof(MainLayout).Assembly]">
144144
<Header>
145145
<div>Header</div>
146146
</Header>
@@ -158,7 +158,7 @@
158158
@Localizer["LayoutsAppTips8"]
159159
</p>
160160
<div class="layout-demo2">
161-
<Layout ShowFooter="true" SideWidth="160px" Menus="IconSideMenuItems2">
161+
<Layout ShowFooter="true" SideWidth="160px" Menus="IconSideMenuItems2" AdditionalAssemblies="[typeof(MainLayout).Assembly]">
162162
<Header>
163163
<div>Header</div>
164164
</Header>

0 commit comments

Comments
 (0)