摘要:
分别给router-view定义一个name,默认显示的可以不用定义 自己先在components文件夹内写4个组件,准备放入4个router-viewer标签,我的分别是 containerLeft.vue containerRight.vue containerTop.vue container 阅读全文
摘要:
创建导航页组件 在components目录下新建一个navigation目录,在Navi目录中新建一个名为Navi.vue的组件。至此我们的目录应该是如下图所示: 然后我们修改main.js文件,修改后的文件如下 import Vue from 'vue' //import App from './ 阅读全文