Vue-router: multiple & named router-views

Created on 23 Jun 2015  路  3Comments  路  Source: vuejs/vue-router

router.on('/route', {
  namedViews: {
    a: { component: 'view-a' },
    b: { component:  'view-b' }
  }
})
<router-view name="a"></router-view>
<router-view name="b"></router-view>
feature

Most helpful comment

Is this stil a feature? It would be nice to be able to target a specific router-view like in angularjs routing.

All 3 comments

It isn`t implemented?

Is this stil a feature? It would be nice to be able to target a specific router-view like in angularjs routing.

This does not work yet correct - it would be nice to have this feature like in angularjs and emberjs. :/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexstanbury picture alexstanbury  路  3Comments

baijunjie picture baijunjie  路  3Comments

sqal picture sqal  路  3Comments

saman picture saman  路  3Comments

gil0mendes picture gil0mendes  路  3Comments