docs: add main-and-renderer-process doc

This commit is contained in:
leejooy96 committed 2022-11-08 10:32:50 +09:00
1 parent f3c48d114e
commit 1e556be215
1 file changed
+9
+9
View File
@@ -0,0 +1,9 @@
# Main vs Renderer Process
A **Vutron** application is divided into code into a Main process and a Renderer process.
**"Main"** is the code of `src/main` and is mainly the process code handled by Electron. **"Renderer"** is the code of `src/renderer`, mainly for front-end rendering process like Vue.
The script code of Main cannot be referenced in the Renderer or vice versa, and the two processes can communicate using `IPC`.
Please see the article below for more details: https://www.electronjs.org/docs/latest/tutorial/ipc