<!-- 模板部分，生成HTML -->
<template>
  <div id="app">
    <AppHeader />
    <router-view/>
  </div>
</template>

<!-- 控制模板数据与行为 -->
<script>
import AppHeader from './components/Header.vue';

export default {
  name: 'App',
  components: {
    AppHeader
  }
}
</script>

<!-- 样式部分,定义CSS样式 -->
<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>
