## 新建目录`/src/views/layout`
## 新建目录`/src/views/index`
## 新建文件`/src/views/index/Index.vue`
## 修改文件`/src/App.vue`
```html
```
## 新建文件`/src/views/layout/Layout.vue`
```html
<template>
<el-container>
<el-aside width="200px">Aside</el-aside>
<el-container>
<el-header>Header</el-header>
<el-main>
<router-view/>
</el-main>
<el-footer>Footer</el-footer>
</el-container>
</el-container>
</template>
<script>
export default {
name: "Layout"
}
</script>
<style scoped>
</style>
```