[新增] 容器文档
This commit is contained in:
parent
bff1413f06
commit
ea22aeb9c2
39
docs/docs/zh-CN/components/container.md
Normal file
39
docs/docs/zh-CN/components/container.md
Normal 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>
|
||||||
|
|
||||||
|
:::
|
@ -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>
|
||||||
|
@ -24,28 +24,32 @@ 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',
|
||||||
component: () => import('../../docs/zh-CN/components/button.md'),
|
component: () => import('../../docs/zh-CN/components/button.md'),
|
||||||
meta: { title: '按钮' },
|
meta: { title: '按钮' },
|
||||||
},{
|
}, {
|
||||||
path: '/zh-CN/components/icon',
|
path: '/zh-CN/components/icon',
|
||||||
component: () => import('../../docs/zh-CN/components/icon.md'),
|
component: () => import('../../docs/zh-CN/components/icon.md'),
|
||||||
meta: { title: '图标' },
|
meta: { title: '图标' },
|
||||||
},{
|
}, {
|
||||||
path: '/zh-CN/components/panel',
|
path: '/zh-CN/components/panel',
|
||||||
component: () => import('../../docs/zh-CN/components/panel.md'),
|
component: () => import('../../docs/zh-CN/components/panel.md'),
|
||||||
meta: { title: '面板' },
|
meta: { title: '面板' },
|
||||||
},{
|
}, {
|
||||||
path: '/zh-CN/components/card',
|
path: '/zh-CN/components/card',
|
||||||
component: () => import('../../docs/zh-CN/components/cards.md'),
|
component: () => import('../../docs/zh-CN/components/cards.md'),
|
||||||
meta: { title: '卡片' },
|
meta: { title: '卡片' },
|
||||||
},{
|
}, {
|
||||||
path: '/zh-CN/components/grid',
|
path: '/zh-CN/components/grid',
|
||||||
component: () => import('../../docs/zh-CN/components/grid.md'),
|
component: () => import('../../docs/zh-CN/components/grid.md'),
|
||||||
meta: { title: '栅格' },
|
meta: { title: '栅格' },
|
||||||
},{
|
}, {
|
||||||
path: '/zh-CN/components/form',
|
path: '/zh-CN/components/form',
|
||||||
component: () => import('../../docs/zh-CN/components/form.md'),
|
component: () => import('../../docs/zh-CN/components/form.md'),
|
||||||
meta: { title: '表单' },
|
meta: { title: '表单' },
|
||||||
|
Loading…
Reference in New Issue
Block a user