36 lines
783 B
Vue
36 lines
783 B
Vue
<!--
|
|
* @Author: Kane
|
|
* @Date: 2022-11-24 01:13:55
|
|
* @LastEditors: Kane
|
|
* @LastEditTime: 2022-11-25 16:35:46
|
|
* @FilePath: \hello-router\src\App.vue
|
|
* @Description:
|
|
*
|
|
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
|
-->
|
|
<template>
|
|
<el-container>
|
|
<el-header><Header></Header></el-header>
|
|
<el-main><Main></Main></el-main>
|
|
</el-container>
|
|
</template>
|
|
<script>
|
|
import Header from "./components/页面组件/Header";
|
|
import Main from "./components/页面组件/Main";
|
|
|
|
export default {
|
|
name: "App",
|
|
components: { Header, Main },
|
|
};
|
|
</script>
|
|
<style>
|
|
#app {
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-align: center;
|
|
color: #2c3e50;
|
|
margin-top: 60px;
|
|
}
|
|
</style>
|