element-plus/ssr-testing/cases/container.vue
JeremyWuuuuu 3f72ec5818
test(ssr): add ssr testing cases (#6657)
* test(ssr): add ssr testing cases

- Add cases for backtop, badge, breadcrumb, button, calendar
- Fix a issue which caused backtop not SSR renderable

* Update card, carousel cascader test cases

* Add more cases
2022-03-18 11:56:41 +08:00

46 lines
1.0 KiB
Vue

<template>
<div class="common-layout">
<el-container>
<el-aside
width="200px"
style="
display: flex;
justify-content: center;
align-items: center;
background-color: #d3dce6;
"
>Aside</el-aside
>
<el-container>
<el-header
style="
display: flex;
justify-content: center;
align-items: center;
background-color: #b3c0d1;
"
>Header</el-header
>
<el-main
style="
display: flex;
justify-content: center;
align-items: center;
background-color: #e9eef3;
"
>Main</el-main
>
<el-footer
style="
display: flex;
justify-content: center;
align-items: center;
background-color: #b3c0d1;
"
>Footer</el-footer
>
</el-container>
</el-container>
</div>
</template>