File tree Expand file tree Collapse file tree 4 files changed +25
-25
lines changed
samples/FunBlazor.MudBlazorDemo
FunBlazor.MudBlazorDemo.Client Expand file tree Collapse file tree 4 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.BlazorWebAssembly" >
22
33 <PropertyGroup >
4- <TargetFramework >net8 .0</TargetFramework >
4+ <TargetFramework >net9 .0</TargetFramework >
55 </PropertyGroup >
66
77 <ItemGroup >
1111
1212 <ItemGroup >
1313 <PackageReference Include =" Fun.Blazor" Version =" 4.1.*" />
14- <PackageReference Include =" Fun.Blazor.Microsoft.Web" Version =" 8 .0.* " />
15- <PackageReference Include =" Fun.Blazor.Microsoft.Authorization" Version =" 8 .0.* " />
16- <PackageReference Include =" Fun.Blazor.MudBlazor" Version =" 7.15.0 " />
17- <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 8 .0.* " />
18- <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 8 .0.* " PrivateAssets =" all" />
14+ <PackageReference Include =" Fun.Blazor.Microsoft.Web" Version =" 9 .0.3 " />
15+ <PackageReference Include =" Fun.Blazor.Microsoft.Authorization" Version =" 9 .0.3 " />
16+ <PackageReference Include =" Fun.Blazor.MudBlazor" Version =" 8.5.1 " />
17+ <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly" Version =" 9 .0.4 " />
18+ <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version =" 9 .0.4 " PrivateAssets =" all" />
1919 </ItemGroup >
2020
2121</Project >
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ type MainLayout() as this =
1111
1212 let content = fragment {
1313 MudThemeProvider''
14+ MudPopoverProvider'' { interactiveAuto }
1415 MudLayout'' {
1516 MudAppBar'' {
1617 // This will not work, because the layout is not all in server/client interactive mode,
Original file line number Diff line number Diff line change @@ -23,25 +23,24 @@ type Home() as this =
2323 else
2424 items
2525
26- member _.MainContent =
27- html.fragment [|
28- div {
29- a {
30- style { color ( if this.query.HasValue then " hotpink" else " grey" ) }
31- href " ?query=3"
32- " filter: bigger than 3"
33- }
26+ member _.MainContent = fragment {
27+ div {
28+ a {
29+ style { color ( if this.query.HasValue then " hotpink" else " grey" ) }
30+ href " ?query=3"
31+ " filter: bigger than 3"
3432 }
35- ul {
36- region {
37- for i in this.FilteredItems do
38- li {
39- style { color " green " }
40- $ " item {i} "
41- }
42- }
33+ }
34+ ul {
35+ region {
36+ for i in this.FilteredItems do
37+ li {
38+ style { color " green " }
39+ $ " item {i} "
40+ }
4341 }
44- |]
42+ }
43+ }
4544
4645 override _.OnInitializedAsync () = task {
4746 do ! Task.Delay 2000
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
33 <PropertyGroup >
4- <TargetFramework >net8 .0</TargetFramework >
4+ <TargetFramework >net9 .0</TargetFramework >
55 </PropertyGroup >
66
77 <ItemGroup >
1717 <ItemGroup >
1818 <PackageReference Include =" Fun.Blazor" Version =" 4.1.*" />
1919 <PackageReference Include =" Fun.Blazor.Server" Version =" 4.1.*" />
20- <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.Server" Version =" 8 .0.* " />
20+ <PackageReference Include =" Microsoft.AspNetCore.Components.WebAssembly.Server" Version =" 9 .0.4 " />
2121 </ItemGroup >
2222
2323 <ItemGroup >
You can’t perform that action at this time.
0 commit comments