Add project files.

This commit is contained in:
BOT Alex 2023-06-27 11:48:18 +02:00
parent 4db0bf9298
commit cb8dd0eb76
221 changed files with 109953 additions and 0 deletions

View file

@ -0,0 +1,19 @@
using LearningChineseSimplified;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using MudBlazor.Services;
internal class Program
{
private static async Task Main(string[] args)
{
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
builder.Services.AddMudServices();
await builder.Build().RunAsync();
}
}