electron-vite-react
electron-vite-react copied to clipboard
:electron: Electron + Vite + React + Sass boilerplate.
On initialization (using `yarn install` and `yarn run dev`), I receive a sequence of errors: ``` VM123 sandbox_bundle:2 Unable to load preload script: /Users/aerypro/git/acwms-electron/dist-electron/preload/index.mjs ``` ``` Error: ENOENT: no such...
Hello, I'm currently creating an electron based app under Wayland on Arch Linux. Is there a way to start "npm run dev" with required flags for wayland? Can do it...
I used the template and ran one test. It passes no problems, but running multiple ones fails with this error ` Error: electron.launch: Process failed to launch!`. I prepared a...
Hello, I added a new IPC handler `cancel-download` to cancel the download completely, because closing the modal only doesn't stop the app from continuing the download in the background. Thanks...
System:macos Ventura 13.5 Node: v16.20.2 pnpm: v8.7.1 An error will be reported after using `koa`, `@ koa/ router`,` @ koa/ bodyparser`, `@ koa/ cors`,` @ koa/ multer` build. > 使用`koa`,...
I'm trying to use the [utility process](https://www.electronjs.org/docs/latest/api/utility-process#childstdout) for some background jobs but having trouble getting it to work using the example. How do I tell vite config to include another...
动态引入imagemin包,开发环境正常,打包后程序报错,找不到这个依赖包,如下图 在electron/main/index.ts中代码: ``` const imagemin = (await import('imagemin')).default const imageminMozjpeg = (await import('imagemin-mozjpeg')).default ``` 这个问题类似于[https://github.com/electron-vite/electron-vite-react/issues/98](https://github.com/electron-vite/electron-vite-react/issues/98)这个问题,但现在已经版本升级了,请告诉我应该怎么解决。 感谢帮助 --- Reproduction repo 👉 https://github.com/dylan-7/imagemin
If we change something on our code the electron will restart, but the previous doesn't get killed, it's running on background.  main.ts ```ts import { app, BrowserWindow } from...

For example I'm using IPC, but when change an implementation of a method of the IPC, this change is not showed in real time like when do a change in...