Home

Issue: 968

Does nuxt support named view routes?

[issue link]

I can’t find how I could, for example, extend routes with something like this:

routes: [
    {
      path: '/',
      components: {
        default: Foo,
        a: Bar,
        b: Baz
      }
    }
]

And then use named views like this on the page:

<router-view class="view one"></router-view>
<router-view class="view two" name="a"></router-view>
<router-view class="view three" name="b"></router-view>

When I use extendRoutes function it keeps giving me an error that it could not find module dependency

./.nuxt/route.js
This question is available on Nuxt.js community (#c836)