We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<API>
1 parent fd5e333 commit bc634fdCopy full SHA for bc634fd
docs/zh/1-configurations/1-components.md
@@ -42,6 +42,30 @@ Contents...
42
43
<Block>
44
45
+## API 组件
46
+
47
+`API` 组件是 `<Block>` 组件的一个别名,效果跟 `<Block>` 组件是一样的,只是在特殊场景下语义化更好。
48
49
+<Example>
50
51
+使用方式:
52
53
+```vue
54
+<API>
55
56
+## Endpoint
57
58
+GET https://api.github.com/users/:username
59
60
+</API>
61
+```
62
63
+</Example>
64
65
+</Block>
66
67
+<Block>
68
69
## Example 组件
70
71
`Example` 组件用于在 `<Block>` 组件中指定右侧深色区域的内容。可以清晰地标识当前部分内容为使用案例。
0 commit comments