docs: update

This commit is contained in:
草鞋没号 2022-01-27 08:26:53 +08:00
parent 70a6c0e762
commit 38e0e16ab2

View File

@ -65,7 +65,7 @@ Once `dev` or `build` npm-script executed will be generate named `dist` folder.
## Use Electron, NodeJs API ## Use Electron, NodeJs API
> 🚧 By default, Electron don't support the use of API related to Electron and NodeJs in the Renderer-process, but someone still need to use it. If so, you can see the 👉 npm-package **[vitejs-plugin-electron](https://www.npmjs.com/package/vitejs-plugin-electron)** or another template **[electron-vite-boilerplate](https://github.com/caoxiemeihao/electron-vite-boilerplate)** > 🚧 By default, Electron don't support the use of API related to Electron and NodeJs in the Renderer-process, but someone still need to use it. If so, you can see the template 👉 **[electron-vite-boilerplate](https://github.com/caoxiemeihao/electron-vite-boilerplate)**
#### All Electron, NodeJs API invoke passed `Preload-script` #### All Electron, NodeJs API invoke passed `Preload-script`