Skip to content
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

Vue router and named slot #837

Closed
stephanedemotte opened this issue Oct 26, 2016 · 1 comment
Closed

Vue router and named slot #837

stephanedemotte opened this issue Oct 26, 2016 · 1 comment

Comments

@stephanedemotte
Copy link

Hi !

I can't have different slot in router-view

See here for the reproduction.

If we remove line 6, the view router doesn't render the named slot.
I have missed something ? I have try to read the Vue & Vue-router doc, but nothing...

Thanks !

@fnlctrl
Copy link
Member

fnlctrl commented Oct 26, 2016

Hi, thanks for filling this issue.
<router-view> doesn't support named slots, only default slot is available.
If you need named slots, you can try named views instead.

@fnlctrl fnlctrl closed this as completed Oct 26, 2016
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

2 participants