Skip to content

Commit 596c8eb

Browse files
committed
引入 CodeBeam.MudBlazor.Extensions
1 parent caab73c commit 596c8eb

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

src/ComputerLock/App.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using MudBlazor.Services;
55
using System.Windows;
66
using ComputerLock.Update;
7+
using MudExtensions.Services;
78
using Application = System.Windows.Application;
89

910
namespace ComputerLock;
@@ -64,6 +65,7 @@ private void Init()
6465
config.SnackbarConfiguration.ShowTransitionDuration = 200;
6566
config.SnackbarConfiguration.HideTransitionDuration = 400;
6667
});
68+
services.AddMudExtensions();
6769

6870
var sp = services.BuildServiceProvider();
6971
Resources.Add("services", sp);

src/ComputerLock/ComputerLock.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20+
<PackageReference Include="CodeBeam.MudBlazor.Extensions" Version="7.1.0" />
2021
<PackageReference Include="JiuLing.AutoUpgrade" Version="2.2.6" />
2122
<PackageReference Include="JiuLing.CommonLibs" Version="1.7.1" />
2223
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Wpf" Version="8.0.100" />

src/ComputerLock/_Imports.razor

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
@using ComputerLock
1010
@using ComputerLock.Shared
1111
@using ComputerLock.Components
12-
@using Microsoft.Extensions.Localization
12+
@using Microsoft.Extensions.Localization
13+
@using MudExtensions

src/ComputerLock/wwwroot/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<link href="app.css" rel="stylesheet" />
1010
<link href="initialize-screen.css" rel="stylesheet" />
1111
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
12+
<link href="_content/CodeBeam.MudBlazor.Extensions/MudExtensions.min.css" rel="stylesheet" />
1213
<link href="SignDebugger.styles.css" rel="stylesheet" />
1314
</head>
1415

@@ -29,6 +30,7 @@
2930
</div>
3031
<script src="_framework/blazor.webview.js"></script>
3132
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
33+
<script src="_content/CodeBeam.MudBlazor.Extensions/MudExtensions.min.js"></script>
3234
</body>
3335

3436
</html>

0 commit comments

Comments
 (0)