Pro Components of Blazor. 🏆 Use Ant Design like a Pro!
Перейти к файлу
James Yeung b7a10992cf
Update AntDesign 1.0.0 (#112)
2024-11-03 00:06:01 +08:00
.github update AntDesign 1.0 RC2 (#110) 2024-10-11 23:57:09 +08:00
docs
src/layout Update AntDesign 1.0.0 (#112) 2024-11-03 00:06:01 +08:00
.gitattributes
.gitignore
AntDesign.Pro.Components.sln
LICENSE
README.md
README.zh-CN.md
package.json

README.md

English | 简体中文

AntDesign AntDesign Build GitHub Slack Group Discord Server

Ant Design Pro Layout

image

An out-of-box UI solution for enterprise applications as a React boilerplate. This repository is the layout of Ant Design Pro and was developed for quick and easy use of the layout.

Usage

Install-Package AntDesign.Pro.Layout
// or
dotnet add package AntDesign.Pro.Layout
builder.Services.AddAntDesign();
builder.Services.Configure<ProSettings>(x =>
{
    x.Title = "Ant Design Pro";
    x.NavTheme = "light";
    x.Layout = "mix";
    x.PrimaryColor = "daybreak";
    x.ContentWidth = "Fluid";
    x.HeaderHeight = 64;
});

Or setup with appsettings.json

builder.Services.AddAntDesign();
builder.Services.Configure<ProSettings>(builder.Configuration.GetSection("ProSettings"));
{
  "ProSettings": {
    "NavTheme": "light",
    "Layout": "mix",
    "ContentWidth": "Fluid",
    "FixedHeader": false,
    "FixSiderbar": true,
    "Title": "Ant Design Pro",
    "PrimaryColor": "daybreak",
    "ColorWeak": false,
    "SplitMenus": false,
    "HeaderRender": true,
    "FooterRender": true,
    "MenuRender": true,
    "MenuHeaderRender": true,
    "HeaderHeight": 64
  }
}
  • Link the static files in wwwroot/index.html (WebAssembly) or Pages/_Host.cshtml (Server)
<link rel="stylesheet" href="_content/AntDesign.ProLayout/css/ant-design-pro-layout-blazor.css" />

Community Support

If you encounter any problems in the process, feel free to ask for help via following channels. We also encourage experienced users to help newcomers.

  • Discord Server

  • 钉钉群

    Scan QR Code with DingTalk

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

☀️ License

AntDesign

.NET Foundation

This project is supported by the .NET Foundation.