We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53deae6 commit 734b53aCopy full SHA for 734b53a
packages/vue-component-dev-client/client/vue2-hot.js
@@ -201,7 +201,7 @@ exports.reload = tryWrap((id, options) => {
201
// preserve pre 2.2 behavior for global mixin handling
202
record.Ctor.extendOptions = options
203
}
204
- const newCtor = record.Ctor.super.extend(options)
+ const newCtor = (record.Ctor.super || record.Ctor).extend(options)
205
record.Ctor.options = newCtor.options
206
record.Ctor.cid = newCtor.cid
207
record.Ctor.prototype = newCtor.prototype
0 commit comments