这里怎么解决

来源:4-6 网站首页布局开发

qq_蓝骏毅_04076633

2021-05-06

<template>
  <a-layout id="components-layout-demo-top-side-2">
    <the-header></the-header>
    <router-view/>
    <the-footer></the-footer>
  </a-layout>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import TheHeader from '@/components/the-header.vue';
import TheFooter from '@/components/the-footer.vue';

export default defineComponent({
  name: 'app',
  components: {
    TheHeader,
    TheFooter,
  },
});
</script>

http://img.mukewang.com/szimg/6093b8c90963c3c410700235.jpg

写回答

1回答

甲蛙

2021-05-07

你代码多拷了,the-header the-footer是后面的章节,拷代码要看我的提交记录,而不是最终代码,可以再看下1-4节

//img.mukewang.com/szimg/609536cc099bb39b12010350.jpg

0
0

Spring Boot+Vue3前后端分离,实战wiki知识库系统

一课掌握前后端最火框架,更有职场竞争力

2525 学习 · 1672 问题

查看课程