Skip to content

Conversation

skirtles-code
Copy link
Contributor

Description of Problem

For the name option, I don't think this line still applies in Vue 3:

Restriction: only respected when used as a component option.

The distinction between component options and root instance options no longer exists. We now only have component options.

If you're curious, here's a demo showing name working fine on the root component: https://jsfiddle.net/skirtle/7ocdjz65/

Proposed Solution

Remove that line.

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 thank you for the fix!

@NataliaTepluhina NataliaTepluhina merged commit 7d986f3 into vuejs:master Sep 21, 2020
nick-lai pushed a commit to nick-lai/docs-next that referenced this pull request Dec 2, 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