Skip to content

Commit 6726a91

Browse files
committed
respect user specified component names
1 parent 27bb331 commit 6726a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/internal/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ module.exports = {
108108
resolveComponent: function (id, cb) {
109109
var self = this
110110
this.pendingComponentCb = _.cancellable(function (Component) {
111-
self.ComponentName = id
111+
self.ComponentName = Component.options.name || id
112112
self.Component = Component
113113
cb()
114114
})

0 commit comments

Comments
 (0)