mirror of
https://github.com/amwx/FluentAvalonia.git
synced 2026-10-17 04:30:38 +08:00
20 lines
452 B
C#
20 lines
452 B
C#
using Avalonia;
|
|
using Avalonia.Browser;
|
|
using System.Runtime.Versioning;
|
|
using System.Threading.Tasks;
|
|
|
|
[assembly: SupportedOSPlatform("browser")]
|
|
|
|
namespace FAControlsGallery.Web;
|
|
|
|
public class Program
|
|
{
|
|
public static async Task Main(string[] args)
|
|
{
|
|
await BuildAvaloniaApp().StartBrowserAppAsync("out", new BrowserPlatformOptions());
|
|
}
|
|
|
|
public static AppBuilder BuildAvaloniaApp() =>
|
|
AppBuilder.Configure<App>();
|
|
}
|