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 bf0c84d commit 6fb5b70Copy full SHA for 6fb5b70
lib/loader.js
@@ -210,6 +210,15 @@ module.exports = function (content) {
210
' }\n' +
211
'})()}\n'
212
}
213
+ // check functional
214
+ if (!isProduction) {
215
+ output +=
216
+ 'if (__vue_options__.functional) {console.error("' +
217
+ '[vue-loader] ' + fileName + ': functional components are not ' +
218
+ 'supported and should be defined in plain js files using render ' +
219
+ 'functions.' +
220
+ '")}\n'
221
+ }
222
// final export
223
output += '\nmodule.exports = __vue_exports__ || __vue_options__\n'
224
} else {
0 commit comments