gamenight/FrontendAvalonia/FrontendAvalonia.Browser/Program.cs
2023-08-15 11:31:58 +02:00

19 lines
503 B
C#

using System.Runtime.Versioning;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Browser;
using Avalonia.ReactiveUI;
using FrontendAvalonia;
[assembly: SupportedOSPlatform("browser")]
internal partial class Program
{
private static async Task Main(string[] args) => await BuildAvaloniaApp()
.WithInterFont()
.UseReactiveUI()
.StartBrowserAppAsync("out");
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>();
}