Skip to content

Should component name option be inherited? #695

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

Closed
cheapsteak opened this issue Jan 27, 2015 · 1 comment
Closed

Should component name option be inherited? #695

cheapsteak opened this issue Jan 27, 2015 · 1 comment

Comments

@cheapsteak
Copy link
Contributor

var CtorFoo = Vue.extend({
  name: 'foo'
});
var CtorBar = Ctor.extend();

Currently inspecting Bar shows VueComponent. Would it make sense/be possible to have it show Foo instead?

@cheapsteak cheapsteak changed the title Component name option should be inherited? Should component name option be inherited? Jan 27, 2015
@yyx990803
Copy link
Member

indeed, fixed.

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

2 participants