docs: Update getting-started.zh-CN.md (#2145)

缺少_Imports.razor说明
This commit is contained in:
Blcile 2021-12-06 10:29:33 +08:00 committed by GitHub
parent 469ece4b54
commit 192f2a4884

View File

@ -58,6 +58,12 @@ $ dotnet add package AntDesign
<script src="_content/AntDesign/js/ant-design-blazor.js"></script>
```
- 在 `_Imports.razor` 中加入命名空间
```
@using AntDesign
```
然后在 Razor 模板中使用:
```html