From 8f1eefc1db53cb5e75e57bc43bb04553e8cad73a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com>
Date: Tue, 21 Dec 2021 09:30:05 +0800
Subject: [PATCH] chore(docs): update
---
README.md | 8 +++++++-
README.zh-CN.md | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 02b2a05..65cf45c 100644
--- a/README.md
+++ b/README.md
@@ -74,6 +74,12 @@
|
```
+## Use Electron, NodeJs API
+
+> 🚧 By default, Electron don't support the use of API related to Electron and NoeJs 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)**
+
+#### All Electron, NodeJs API invoke passed `Preload-script`
+
## Shown
@@ -83,5 +89,5 @@