Commit 6f1f274
fix: resolve AfterBlazorClientSide build error from UI overhaul
The UI overhaul added ComponentCatalog-driven NavMenu and SearchBox
components to AfterBlazorServerSide. Since AfterBlazorClientSide links
Layout files via content references, it needs:
- ComponentCatalog.cs linked as a compile item (NavMenu depends on it)
- @using AfterBlazorServerSide added to client _Imports.razor
- @using AfterBlazorServerSide.Components.Shared moved from
MainLayout.razor to server-side _Imports.razor (avoids namespace
resolution failure in client project where Shared components are
not linked)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 78e006b commit 6f1f274
4 files changed
Lines changed: 3 additions & 1 deletion
File tree
- samples
- AfterBlazorClientSide
- AfterBlazorServerSide
- Components/Layout
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
0 commit comments