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 b954d58 commit edebe81Copy full SHA for edebe81
lib/loader.js
@@ -161,7 +161,8 @@ module.exports = function (content) {
161
}
162
163
var exports =
164
- '__vue_options__ = __vue_exports__ || {}\n' +
+ '__vue_options__ = __vue_exports__ = ' +
165
+ '__vue_exports__ || { default: {}, __esModule: true }\n' +
166
// ES6 modules interop
167
'if (__vue_options__.__esModule) {\n' +
168
' __vue_options__ = __vue_options__.default\n' +
0 commit comments