Skip to content

fix: introduce the wrapper object to the props default example #492

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

Merged

Conversation

skirtles-code
Copy link
Contributor

Description of Problem

The example of using default for props in the migration guide appears to be missing a wrapper object and default property.

I don't think the code as currently written will actually work. Testing with rc.13 seemed to need the extra object.

Proposed Solution

Added the wrapper object.

Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skirtles-code thanks!

@NataliaTepluhina NataliaTepluhina merged commit 0ae5b64 into vuejs:master Sep 18, 2020
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

Successfully merging this pull request may close these issues.

2 participants