Firest commit
This commit is contained in:
commit
2d55f5e6f4
70 changed files with 60789 additions and 0 deletions
11
src/MaddoScientisto.Web/Program.cs
Normal file
11
src/MaddoScientisto.Web/Program.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using Microsoft.AspNetCore.Components.Web;
|
||||
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||
using MaddoScientisto.Web;
|
||||
|
||||
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) });
|
||||
|
||||
await builder.Build().RunAsync();
|
||||
Loading…
Add table
Add a link
Reference in a new issue