Update README.md
This commit is contained in:
1 file changed
+4
-4
@@ -21,11 +21,11 @@ You need a basic understanding of `Electron` and `Vite` to get started. But that
|
||||
npm create electron-vite
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
## Debug
|
||||
|
||||

|
||||

|
||||
|
||||
## Directory structure
|
||||
|
||||
@@ -67,7 +67,7 @@ Once `dev` or `build` npm-script is executed, the `dist` folder will be generate
|
||||
contextBridge.exposeInMainWorld("ipcRenderer", ipcRenderer);
|
||||
```
|
||||
|
||||
- **electron/renderer/src/global.d.ts**
|
||||
- **src/global.d.ts**
|
||||
|
||||
```typescript
|
||||
// Defined in the window
|
||||
@@ -77,7 +77,7 @@ Once `dev` or `build` npm-script is executed, the `dist` folder will be generate
|
||||
}
|
||||
```
|
||||
|
||||
- **electron/renderer/src/main.ts**
|
||||
- **src/main.ts**
|
||||
|
||||
```typescript
|
||||
// Use Electron and NodeJS API in the Renderer-process
|
||||
|
||||
Reference in new issue
Block a user