Skip to content

[2.0] Active links in nested routes #627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jwahdatehagh opened this issue Aug 31, 2016 · 1 comment
Closed

[2.0] Active links in nested routes #627

jwahdatehagh opened this issue Aug 31, 2016 · 1 comment

Comments

@jwahdatehagh
Copy link

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?

@jwahdatehagh
Copy link
Author

Srry my bad – should have edited this one. New issue here: #628

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant