Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ts-element系列之Container布局容器 #6

Open
webVueBlog opened this issue Aug 15, 2022 · 0 comments
Open

ts-element系列之Container布局容器 #6

webVueBlog opened this issue Aug 15, 2022 · 0 comments

Comments

@webVueBlog
Copy link
Owner

image
image

使用了 <el-container>、<el-header>、<el-main>、<el-footer>、<el-aside> 5 种组件,来看一下它们各自的作用:

<el-container>:外层容器。当子元素中包含 <el-header><el-footer> 时,全部子元素会垂直上下排列,否则会水平左右排列。

<el-header>:顶栏容器。

<el-aside>:侧边栏容器。

<el-main>:主要区域容器。

<el-footer>:底栏容器。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant