[其他] 初始化项目结构
This commit is contained in:
32
docs/docs/zh-CN/components/button.md
Normal file
32
docs/docs/zh-CN/components/button.md
Normal file
@@ -0,0 +1,32 @@
|
||||
##### 基础
|
||||
|
||||
::: demo 传入 columns 数据,自动生成表格
|
||||
|
||||
<template>
|
||||
<lay-button type="primary">原始按钮</lay-button>
|
||||
<lay-button type="default">默认按钮</lay-button>
|
||||
<lay-button type="normal">百搭按钮</lay-button>
|
||||
<lay-button type="warm">暖色按钮</lay-button>
|
||||
<lay-button type="danger">警告按钮</lay-button>
|
||||
<lay-button type="disabled">禁用按钮</lay-button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ref } from 'vue'
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
return {
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
:::
|
||||
|
||||
#### 插槽
|
||||
|
||||
| name | 说明 |
|
||||
| :------------ | :----------------------------------------------------------------------- |
|
||||
| type | 按钮类型 |
|
||||
1
docs/docs/zh-CN/guide/home.md
Normal file
1
docs/docs/zh-CN/guide/home.md
Normal file
@@ -0,0 +1 @@
|
||||
##### 介绍
|
||||
5
docs/docs/zh-CN/guide/index.md
Normal file
5
docs/docs/zh-CN/guide/index.md
Normal file
@@ -0,0 +1,5 @@
|
||||
##### 安装
|
||||
|
||||
```
|
||||
npm install layui-vue --save
|
||||
```
|
||||
Reference in New Issue
Block a user