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 change to scopes inside slots echoing undefined to dom #49

Open
neojpk opened this issue Oct 13, 2017 · 2 comments
Open

vue change to scopes inside slots echoing undefined to dom #49

neojpk opened this issue Oct 13, 2017 · 2 comments

Comments

@neojpk
Copy link

neojpk commented Oct 13, 2017

Vue changed slots to slot-scope.

@alexsasharegan
Copy link
Contributor

What exactly is the issue here? What is expected vs. what the component is doing?

@StyxOfDynamite
Copy link

StyxOfDynamite commented Nov 11, 2017

I'm new to this but can replicate, just not sure what you need to do moving forward, it's an easy fix in the example.

change scope="props" -> slot-scope="props"

When using in webpack build I get warning that slot attribute has been renamed to slot-scope and is now applicable on regular elements.

Trying the simple example in the readme yields.

the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to to denote scoped slots.

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

3 participants