Skip to content

Provide default for name option #396

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
merged 4 commits into from
Oct 11, 2016
Merged

Conversation

chrisvfritz
Copy link

No description provided.

@chrisvfritz
Copy link
Author

@yyx990803 This should be ready now.

@yyx990803 yyx990803 merged commit cd358d6 into vuejs:master Oct 11, 2016
hinablue pushed a commit to hinablue/vue-loader that referenced this pull request Oct 26, 2016
* Automatically set name option unless already set

Use the filename to set a component's name option, if one isn't provided. This allows more helpful debugging messages by default.

* remove unnecessary object check for __vue_options__

* add test for automatic name setting based on filenames

* remove redundant if statement from loader.js
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.

3 participants