@tomjs/vite-plugin-electron 1.7.1 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/README.zh_CN.md +14 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/env.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -416,3 +416,17 @@ Run `Debug Main Process` through `vscode` to debug the main thread. For debuggin
|
|
|
416
416
|
### Preload process Debug
|
|
417
417
|
|
|
418
418
|
Use `DevTools` to debug the `preload process`.
|
|
419
|
+
|
|
420
|
+
## Examples
|
|
421
|
+
|
|
422
|
+
First execute the following command to install dependencies and generate library files:
|
|
423
|
+
|
|
424
|
+
```bash
|
|
425
|
+
pnpm install
|
|
426
|
+
pnpm build
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
Open the [examples](./examples) directory, there are `vue` and `react` examples.
|
|
430
|
+
|
|
431
|
+
- [react](./examples/react)
|
|
432
|
+
- [vue](./examples/vue)
|
package/README.zh_CN.md
CHANGED
|
@@ -415,3 +415,17 @@ app.whenReady().then(() => {
|
|
|
415
415
|
### Preload Process 调试
|
|
416
416
|
|
|
417
417
|
使用 `DevTools` 调试 `preload process`.
|
|
418
|
+
|
|
419
|
+
## 示例
|
|
420
|
+
|
|
421
|
+
先执行以下命令安装依赖,并生成库文件:
|
|
422
|
+
|
|
423
|
+
```bash
|
|
424
|
+
pnpm install
|
|
425
|
+
pnpm build
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
打开 [examples](./examples) 目录,有 `vue` 和 `react` 示例。
|
|
429
|
+
|
|
430
|
+
- [react](./examples/react)
|
|
431
|
+
- [vue](./examples/vue)
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/env.d.ts
CHANGED