« Ant blazor design » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Ligne 1 : Ligne 1 :
[[Category:Blazor]]
[[Category:Blazor]]
= Addition to a project =
= Links =
* [https://antblazor.com/en-US Ant Design Blazor]
* [https://github.com/ant-design-blazor/ant-design-blazor Ant Design Blazor on GitHub]
 
= [https://github.com/ant-design-blazor/ant-design-blazor#import-ant-design-blazor-into-an-existing-project Addition to a project] =
<kode lang='bash'>
<kode lang='bash'>
dotnet add package AntDesign
dotnet add package AntDesign

Version du 1 mars 2021 à 21:34

Links

Addition to a project

Bash.svg
dotnet add package AntDesign
Pages/_Host.cshtml
<link href="_content/AntDesign/css/ant-design-blazor.css" rel="stylesheet" />
<script src="_content/AntDesign/js/ant-design-blazor.js"></script>
Startup.cs
public void ConfigureServices(IServiceCollection services)
{
    services.AddAntDesign();