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 ```diff
# vite.config.ts # vite.config.ts
electron({ export default {
- renderer: {} plugins: [
}) - // Use Node.js API in the Renderer-process
- renderer({
- nodeIntegration: true,
- }),
],
}
``` ```
## FAQ ## FAQ