Skip to content

Commit c2bcc25

Browse files
committed
Merge branch 'nodeIntegration' of github.com:caoxiemeihao/electron-vite-boilerplate into nodeIntegration
2 parents ff7f14d + 50df890 commit c2bcc25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ Once `dev` or `build` npm-script executed will be generate named `dist` folder.
6666
| | └── vite.config.ts
6767
| β”œβ”€β”€ preload Preload-script source code
6868
| | └── vite.config.ts
69-
| β”œβ”€β”€ renderer Renderer-process source code
69+
| └── renderer Renderer-process source code
7070
| └── vite.config.ts
7171
```
7272

73-
## 🚧 Use SerialPort, SQLite3 or other node-native addons in Renderer-process
73+
## 🚧 Use SerialPort, SQLite3 or other node-native addons in `Renderer-process`
7474

7575
1. First, yout need to make sure the deps in "dependencies". Because the project still needs it after packaged.
7676

@@ -115,7 +115,7 @@ export default {
115115
}
116116
```
117117

118-
## Use SerialPort, SQLite3 or other node-native addons in Main-process
118+
## Use SerialPort, SQLite3 or other node-native addons in `Main-process`
119119

120120
Main-process, Preload-script are also built with Vite, and they are just built as [build.lib](https://vitejs.dev/config/#build-lib).
121121
So they just need to configure Rollup.

0 commit comments

Comments
Β (0)