[新增] 容器文档
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,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',
|
||||||
|
Loading…
Reference in New Issue
Block a user