From ea3ce1282dc22431e965d104c7049a67abae8e00 Mon Sep 17 00:00:00 2001 From: SKProCH Date: Sun, 7 Apr 2024 16:51:32 +0300 Subject: [PATCH] Updates the wasm demo to nightly avalonia --- .../AppBundle/index.html | 26 +++++++++---------- .../AppBundle/main.js | 2 +- .../Material.Avalonia.Demo.Browser.csproj | 5 ++-- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/Material.Avalonia.Demo.Browser/AppBundle/index.html b/Material.Avalonia.Demo.Browser/AppBundle/index.html index 87fec207..17c7598a 100644 --- a/Material.Avalonia.Demo.Browser/AppBundle/index.html +++ b/Material.Avalonia.Demo.Browser/AppBundle/index.html @@ -2,29 +2,29 @@ - AvaloniaCrossPlatformSample.Browser + Material.Avalonia - - + + -
-
-
-

- Powered by - Avalonia UI -

-
- Avalonia Logo +
+
+
+

+ Powered by + Avalonia UI +

+ Avalonia Logo
- +
+ \ No newline at end of file diff --git a/Material.Avalonia.Demo.Browser/AppBundle/main.js b/Material.Avalonia.Demo.Browser/AppBundle/main.js index 83bf6ec2..2af82e9b 100644 --- a/Material.Avalonia.Demo.Browser/AppBundle/main.js +++ b/Material.Avalonia.Demo.Browser/AppBundle/main.js @@ -1,4 +1,4 @@ -import { dotnet } from './dotnet.js' +import { dotnet } from './_framework/dotnet.js' const is_browser = typeof window != "undefined"; if (!is_browser) throw new Error(`Expected to be running in a browser`); diff --git a/Material.Avalonia.Demo.Browser/Material.Avalonia.Demo.Browser.csproj b/Material.Avalonia.Demo.Browser/Material.Avalonia.Demo.Browser.csproj index b3ee8a93..6ccc31ff 100644 --- a/Material.Avalonia.Demo.Browser/Material.Avalonia.Demo.Browser.csproj +++ b/Material.Avalonia.Demo.Browser/Material.Avalonia.Demo.Browser.csproj @@ -1,8 +1,7 @@  - net8.0 + net8.0-browser browser-wasm - AppBundle\main.js Exe false false @@ -10,7 +9,7 @@ true true - 11.0.9 + 11.2.999-cibuild0047028-alpha