electron-vite-react
electron-vite-react copied to clipboard
:electron: Electron + Vite + React + Sass boilerplate.
I want to use utility/child process but when i use require module the path to child process throws undefined because the utility script is not bundled by vite. What is...
Hello, I’m am seeking guidance on how to effectively reuse TypeScript types across the main process, React components, and preload scripts. Could you please advise on the best practices or...
Trying to use OCR from frontend using node-native-ocr package The output is just `recognize` isn't exported from node-native-ocr (in the dev console) Also tried to add this to the optimizeDeps...
#### Describe the bug Hi everybody. I made '@@' for electron folder. But, for some reason it disables hot reload and any time I change anything in the main process...
### Description Fix the Deprecation of the artifact actions v3 changed to v4 GitHub Deprecation Notice: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ Without this change no more artifact upload. ### What is the purpose of...
### Description First of all thanks for the template! Just encountered with this typo while playing around with it so just wanted to fix it. ### What is the purpose...
#### Describe the bug 完全空的,直接打包,包体积94.1MB 正常引入一些UI库后,体积达到了203MB 希望作者大大能解决包体积的问题,感谢
`vite` has an option to expose the server with `--host` flag. I tried the same flag with `electron-vite` but it doesn't work. Like this ``` "scripts": { "dev": "electron-vite dev...
function App() { const [count, setCount] = useState(0); const handler = useCallback(() => { console.log("added received!!!"); }, []); useEffect(() => { window.ipcRenderer.on("added", handler); return () => { window.ipcRenderer.off("added", handler); };...
Has anyone had any success installing React Devtools into an electron-vite-react project?