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

Inheriting components & directives #1963

Closed
skirtles-code opened this issue Aug 26, 2020 · 0 comments
Closed

Inheriting components & directives #1963

skirtles-code opened this issue Aug 26, 2020 · 0 comments

Comments

@skirtles-code
Copy link
Contributor

Version

3.0.0-rc.8

Reproduction link

https://jsfiddle.net/skirtle/p469rhax/9/

Steps to reproduce

Note the console error: 'Failed to resolve component: SayHi'.

If you change MyChild: CompB to MyChild: CompA it all works fine.

What is expected?

Extending a component should inherit and merge the components and directives options just like it did in Vue 2.

What is actually happening?

Only the render function gets inherited.


The example is intended to simulate a CLI project with a component that doesn't define its own <template> section.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant