docs: update

This commit is contained in:
草鞋没号 2022-10-18 16:36:56 +08:00
parent d08921d6f6
commit 17142a9ec8

View File

@ -54,9 +54,14 @@ npm create electron-vite
```diff
# vite.config.ts
electron({
- renderer: {}
})
export default {
plugins: [
- // Use Node.js API in the Renderer-process
- renderer({
- nodeIntegration: true,
- }),
],
}
```
## FAQ