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 ba4e0bb commit b95761eCopy full SHA for b95761e
lib/template-loader.js
@@ -6,6 +6,12 @@ module.exports = function (content) {
6
this.cacheable && this.cacheable()
7
var callback = this.async()
8
var opt = loaderUtils.parseQuery(this.query)
9
+ var vue = this.options.vue
10
+ if (vue && vue.template) {
11
+ for (var key in vue.template) {
12
+ opt[key] = vue.template[key]
13
+ }
14
15
16
function exportContent (content) {
17
if (opt.raw) {
0 commit comments