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