重命名 docs 为 example

This commit is contained in:
就眠儀式
2021-11-23 11:08:40 +08:00
parent 97788e3a77
commit 4a4ee87b65
88 changed files with 14 additions and 7 deletions

View File

@@ -0,0 +1,59 @@
::: title 基础使用
:::
::: demo
<template>
<lay-block>引用区域的文字</lay-block>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: title 灰色主题
:::
::: demo
<template>
<lay-block :nm="nm">引用区域的文字</lay-block>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
const nm = ref(true)
return {
nm
}
}
}
</script>
:::
::: title Block 属性
:::
::: table
| Name | Description | Accepted Values |
| ---- | ----------- | --------------- |
| nm | 灰色样式 | -- |
:::