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 865fdd2 commit 76bf3d9Copy full SHA for 76bf3d9
docs/dev-guide/plugin-dev.md
@@ -289,7 +289,7 @@ module.exports.hooks = (api) => {
289
const renderIndex = lines.findIndex(line => line.match(/render/))
290
lines[renderIndex] += `${EOL} router,`
291
292
- fs.writeFileSync(api.entryFile, lines.join(EOL), { encoding: 'utf-8' })
+ fs.writeFileSync(api.resolve(api.entryFile), lines.join(EOL), { encoding: 'utf-8' })
293
})
294
}
295
```
0 commit comments