在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):MudBlazor/MudBlazor开源软件地址(OpenSource Url):https://github.com/MudBlazor/MudBlazor开源编程语言(OpenSource Language):C# 78.2%开源软件介绍(OpenSource Introduction):Material Design components for BlazorMudBlazor is an ambitious Material Design component framework for Blazor with an emphasis on ease of use and clear structure. It is perfect for .NET developers who want to rapidly build web applications without having to struggle with CSS and Javascript. MudBlazor, being written entirely in C#, empowers you to adapt, fix or extend the framework. There are plenty of examples in the documentation, which makes understanding and learning MudBlazor very easy. Documentation & DemoWhy is MudBlazor so successful?
PrerequisitesStatsContributing
Getting Started
Quick Installation GuideInstall Package
Add the following to @using MudBlazor Add the following to the <MudThemeProvider/>
<MudDialogProvider/>
<MudSnackbarProvider/> Add the following to <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" /> Add the following to <script src="_content/MudBlazor/MudBlazor.min.js"></script> Add the following to the relevant sections of using MudBlazor.Services; builder.Services.AddMudServices(); Usage<MudText Typo="Typo.h6">MudBlazor is @Text</MudText>
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="ButtonOnClick">@ButtonText</MudButton>
@code {
public string Text { get; set; } = "????";
public string ButtonText { get; set; } = "Click Me";
public int ButtonClicked { get; set; }
void ButtonOnClick()
{
ButtonClicked += 1;
Text = $"Awesome x {ButtonClicked}";
ButtonText = "Click Me Again";
}
} |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论