ci: document publish flow and fix portal imports
TaxBaik CI/CD / build-and-deploy (push) Failing after 4m39s
TaxBaik CI/CD / build-and-deploy (push) Failing after 4m39s
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\TaxBaik.Application\TaxBaik.Application.csproj" />
|
||||
<ProjectReference Include="..\TaxBaik.Web.Client\TaxBaik.Web.Client.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -9,4 +9,7 @@
|
||||
@using Microsoft.JSInterop
|
||||
@using MudBlazor
|
||||
@using TaxBaik.PortalClient
|
||||
@using TaxBaik.WasmClient.Components.Admin
|
||||
@using TaxBaik.WasmClient.Components.Admin.Layout
|
||||
@using TaxBaik.WasmClient.Components.Admin.Shared
|
||||
@using static Microsoft.AspNetCore.Components.Web.RenderMode
|
||||
|
||||
@@ -392,6 +392,12 @@ app.MapHealthChecks("/healthz");
|
||||
app.MapRazorPages(); // Sitemap.cshtml, Rss.cshtml, Feed.cshtml
|
||||
app.MapStaticAssets();
|
||||
|
||||
// Blazor WebAssembly Admin Client
|
||||
app.MapRazorComponents<TaxBaik.WasmClient.Components.Admin.App>()
|
||||
.AddInteractiveWebAssemblyRenderMode()
|
||||
.AddAdditionalAssemblies(typeof(TaxBaik.WasmClient._Imports).Assembly)
|
||||
.AllowAnonymous();
|
||||
|
||||
// SPA 라우팅 폴백 (가장 마지막에!)
|
||||
app.MapFallbackToFile("admin/{*path:nonfile}", "admin/index.html");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user