File tree Expand file tree Collapse file tree 2 files changed +24
-8
lines changed Expand file tree Collapse file tree 2 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 16
16
<script >
17
17
export default {}
18
18
</script >
19
+
20
+ <docs >
21
+ This is the documentation for App.vue
22
+ </docs >
Original file line number Diff line number Diff line change @@ -32,14 +32,6 @@ class VuetifyLoaderPlugin {
32
32
)
33
33
}
34
34
35
- vueRule . use . unshift ( {
36
- loader : require . resolve ( './loader' ) ,
37
- options : {
38
- match : this . options . match || [ ] ,
39
- attrsMatch : this . options . attrsMatch || [ ]
40
- }
41
- } )
42
-
43
35
if ( this . options . progressiveImages ) {
44
36
const vueLoaderOptions = vueRule . use . find ( isVueLoader ) . options
45
37
vueLoaderOptions . compilerOptions = vueLoaderOptions . compilerOptions || { }
@@ -126,6 +118,26 @@ class VuetifyLoaderPlugin {
126
118
}
127
119
}
128
120
121
+ vueRule . oneOf = [
122
+ {
123
+ resourceQuery : '?' ,
124
+ use : vueRule . use
125
+ } ,
126
+ {
127
+ use : [
128
+ {
129
+ loader : require . resolve ( './loader' ) ,
130
+ options : {
131
+ match : this . options . match || [ ] ,
132
+ attrsMatch : this . options . attrsMatch || [ ]
133
+ }
134
+ } ,
135
+ ...vueRule . use
136
+ ]
137
+ } ,
138
+ ]
139
+ delete vueRule . use
140
+
129
141
compiler . options . module . rules = rules
130
142
}
131
143
}
You can’t perform that action at this time.
0 commit comments