vue-learning/cli/hello-router/src/App.vue

36 lines
783 B
Vue
Raw Normal View History

2022-11-23 17:54:33 +00:00
<!--
* @Author: Kane
* @Date: 2022-11-24 01:13:55
* @LastEditors: Kane
2022-11-25 10:07:05 +00:00
* @LastEditTime: 2022-11-25 16:35:46
2022-11-23 17:54:33 +00:00
* @FilePath: \hello-router\src\App.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
2022-11-25 10:07:05 +00:00
<el-container>
<el-header><Header></Header></el-header>
<el-main><Main></Main></el-main>
</el-container>
2022-11-23 17:54:33 +00:00
</template>
<script>
2022-11-25 10:07:05 +00:00
import Header from "./components/页面组件/Header";
import Main from "./components/页面组件/Main";
2022-11-23 17:54:33 +00:00
export default {
name: "App",
2022-11-25 10:07:05 +00:00
components: { Header, Main },
2022-11-23 17:54:33 +00:00
};
</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>