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 49b641c commit 3e8772cCopy full SHA for 3e8772c
generator/index.js
@@ -32,7 +32,7 @@ module.exports.hooks = (api) => {
32
// if not already found, add Vue.use to file
33
if(lines.findIndex(line => line.match(/Vue.use\(Extensionpoints/)) < 0) {
34
const renderIndex = lines.findIndex(line => line.match(/new Vue/))
35
- lines[renderIndex] = `Vue.use(Extensionpoints, plugins)${EOL}${EOL}` + lines[renderIndex]
+ lines[renderIndex] = `Vue.use(Extensionpoints, {plugins})${EOL}${EOL}` + lines[renderIndex]
36
fs.writeFileSync(api.entryFile, lines.join(EOL), { encoding: 'utf-8' })
37
}
38
0 commit comments