Files
taxbaik/TaxBaik.Web.Client/Components/Admin/Routes.razor
T
kjh2064 54a57b2306
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m21s
fix: specify correct AppAssembly in Router component
Routes component should reference TaxBaik.WasmClient._Imports.Assembly
to properly locate all routable components in the WebAssembly context.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-07-03 01:23:32 +09:00

20 lines
800 B
Plaintext

@namespace TaxBaik.WasmClient.Components.Admin
@using Microsoft.AspNetCore.Components.Routing
<Router AppAssembly="@typeof(TaxBaik.WasmClient._Imports).Assembly">
<Found Context="routeData">
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(TaxBaik.WasmClient.Components.Admin.Layout.MainLayout)">
<NotAuthorized>
<RedirectToLogin />
</NotAuthorized>
</AuthorizeRouteView>
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>찾을 수 없음</PageTitle>
<LayoutView Layout="@typeof(TaxBaik.WasmClient.Components.Admin.Layout.MainLayout)">
<p>요청한 페이지를 찾을 수 없습니다.</p>
</LayoutView>
</NotFound>
</Router>