Update README.md

This commit is contained in:
草鞋没号 2022-08-11 08:58:59 +08:00 committed by GitHub
parent e27c6c371d
commit 74ce72367e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,9 +47,9 @@ npm create electron-vite
└── vite.config.ts └── vite.config.ts
``` ```
## 🚨 Be aware ## Be aware
By default, this template integrates Node.js in the Renderer process. If you don't need it, you just remove the option below. [Because it will modify the default config of Vite](https://github.com/electron-vite/vite-plugin-electron/tree/main/packages/electron-renderer#config-presets-opinionated). 🚨 By default, this template integrates Node.js in the Renderer process. If you don't need it, you just remove the option below. [Because it will modify the default config of Vite](https://github.com/electron-vite/vite-plugin-electron/tree/main/packages/electron-renderer#config-presets-opinionated).
```diff ```diff
# vite.config.ts # vite.config.ts