diff --git a/README.md b/README.md index 0fa65a2..bb218d5 100644 --- a/README.md +++ b/README.md @@ -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