
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
```bash
Install-Package AntDesign.Pro.Layout
// or
dotnet add package AntDesign.Pro.Layout
```
```CSharp | pure
builder.Services.AddAntDesign();
builder.Services.Configure(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
```CSharp | pure
builder.Services.AddAntDesign();
builder.Services.Configure(builder.Configuration.GetSection("ProSettings"));
```
```json
{
"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)
```html
```
## ❓ 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.
- [](https://discord.com/invite/jqu3Xeq)
- [](https://h5.dingtalk.com/circle/healthCheckin.html?corpId=dingce91412e5fdea4020aee85826fecb71d&dd651=7b682&cbdbhh=qwertyuiop&origin=11)
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](https://dotnetfoundation.org/code-of-conduct).
## ☀️ License
[](https://github.com/ant-design-blazor/ant-design-blazor/blob/master/LICENSE)
## .NET Foundation
This project is supported by the [.NET Foundation](https://dotnetfoundation.org).