Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: allow extended components as stubs #825

Merged
merged 2 commits into from
Jul 14, 2018

Conversation

kellym
Copy link
Contributor

@kellym kellym commented Jul 13, 2018

The current test for accepting valid component stubs references an ExtendedComponent, but technically doesn't allow components that extend another component via the single-file means of { extends: Component }.

This makes use of the existing shared isVueComponent function and combines it with the current stub-version of isVueComponent, which looks like it's present because { template } support isn't included in the shared isVueComponent.

@kellym kellym changed the title Allow extended components as stubs fix: allow extended components as stubs Jul 13, 2018
Copy link
Member

@eddyerburgh eddyerburgh left a comment

Choose a reason for hiding this comment

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

Thans 👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants