1.tab.vue 存放数组对象 :to="tab.path点解切换path .router-link-active点击增加高亮效果 2.App.vue引用tab.vue组件 注册使用 3.router>index.js 引入导航组件,配置路由