mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-02 03:57:38 +08:00
20 lines
565 B
C#
20 lines
565 B
C#
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace AntBlazor.Docs.ClientApp
|
|
{
|
|
public class Program
|
|
{
|
|
public static async Task Main(string[] args)
|
|
{
|
|
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
|
builder.RootComponents.Add<App>("app");
|
|
|
|
builder.Services.AddBaseAddressHttpClient();
|
|
builder.Services.AddAntBlazorDocs();
|
|
|
|
await builder.Build().RunAsync();
|
|
}
|
|
}
|
|
} |