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 9018b18 commit 7f8a62bCopy full SHA for 7f8a62b
lib/template-compiler/preprocessor.js
@@ -15,6 +15,11 @@ module.exports = function (content) {
15
))
16
}
17
18
+ // allow passing options to the template preprocessor via `template` option
19
+ if (this.options.__vueOptions__) {
20
+ Object.assign(opt, this.options.__vueOptions__.template)
21
+ }
22
+
23
// for relative includes
24
opt.filename = this.resourcePath
25
0 commit comments