export default new Router({ linkActiveClass: 'active', routes: [ { path: '/hello', name: 'Hello', component: Hello }, { path: '/heade', name: 'heade', component: heade,
//info.vue和more.vue 会被渲染在 heade.vue 的 <router-view> 中 children:[ { path: '/info', name: 'info', component: info }, { path: '/more', name: 'more', component: more } ] }, ] })