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