[新增] 容器文档

This commit is contained in:
就眠仪式 2021-09-29 09:50:53 +08:00
parent bff1413f06
commit ea22aeb9c2
3 changed files with 49 additions and 5 deletions

View File

@ -0,0 +1,39 @@
::: demo
<template>
<lay-container></lay-container>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: demo
<template>
<lay-container fluid></lay-container>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::

View File

@ -9,6 +9,7 @@
<lay-side> <lay-side>
<ul class="layui-menu layui-menu-lg"> <ul class="layui-menu layui-menu-lg">
<li><router-link to="/zh-CN/components/layout">布局</router-link></li> <li><router-link to="/zh-CN/components/layout">布局</router-link></li>
<li><router-link to="/zh-CN/components/container">容器</router-link></li>
<li><router-link to="/zh-CN/components/button">按钮</router-link></li> <li><router-link to="/zh-CN/components/button">按钮</router-link></li>
<li><router-link to="/zh-CN/components/icon">图标</router-link></li> <li><router-link to="/zh-CN/components/icon">图标</router-link></li>
<li><router-link to="/zh-CN/components/panel">面板</router-link></li> <li><router-link to="/zh-CN/components/panel">面板</router-link></li>

View File

@ -24,6 +24,10 @@ const zhCN = [
path: '/zh-CN/components/layout', path: '/zh-CN/components/layout',
component: () => import('../../docs/zh-CN/components/layout.md'), component: () => import('../../docs/zh-CN/components/layout.md'),
meta: { title: '布局' }, meta: { title: '布局' },
}, {
path: '/zh-CN/components/container',
component: () => import('../../docs/zh-CN/components/container.md'),
meta: { title: '容器' },
}, },
{ {
path: '/zh-CN/components/button', path: '/zh-CN/components/button',