Skip to content

[2.0] Active links in nested routes #627

@jwahdatehagh

Description

@jwahdatehagh

I would like to have nested routes with a default component in the nested-root like so:

routes: [
    { 
    path: '/home', 
      name: 'home',
        component: Home,
      children: [
        {
          path: '',
          name: 'home.index',
          component: HomeIndex
        },
        {
          path: 'foo',
          name: 'home.foo',
          component: HomeFoo
        }
      ]
    }
  ]

Vue.js & vue-router.js version

2.0.0-rc.4, 2.0.0-rc.4

Reproduction Link

https://jsfiddle.net/jwahdatehagh/44ed5xxf/1/

Steps to reproduce

What is Expected?

What is actually happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions