« Ant blazor design » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
(Page créée avec « Category:Blazor = Addition to a project = <kode lang='bash'> dotnet add package AntDesign </kode> <filebox fn='Pages/_Host.cshtml'> <link href="_content/AntDesign/css… ») |
|||
Ligne 8 : | Ligne 8 : | ||
<link href="_content/AntDesign/css/ant-design-blazor.css" rel="stylesheet" /> | <link href="_content/AntDesign/css/ant-design-blazor.css" rel="stylesheet" /> | ||
<script src="_content/AntDesign/js/ant-design-blazor.js"></script> | <script src="_content/AntDesign/js/ant-design-blazor.js"></script> | ||
</filebox> | |||
<filebox fn='Startup.cs'> | |||
public void ConfigureServices(IServiceCollection services) | |||
{ | |||
services.AddAntDesign(); | |||
</filebox> | </filebox> |
Version du 1 mars 2021 à 21:32
Addition to a project
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(); |