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 c826475 commit 62182b1Copy full SHA for 62182b1
lib/loader.js
@@ -210,8 +210,8 @@ module.exports = function (content) {
210
211
var parts = parse(content, fileName, this.sourceMap)
212
// var hasGlobal = parts.styles.some(function (s) { return !!s.global })
213
- // var scopeId = hasGlobal ? '@GLOBAL' : genId(filePath)
214
- var scopeId = genId(filePath)
+ // var scopeId = hasGlobal ? '@GLOBAL' : ('data-v-' + genId(filePath))
+ var scopeId = 'data-v-' + genId(filePath)
215
var output = 'var __vue_exports__, __vue_options__\n'
216
217
// css modules
0 commit comments