Completely based on the package astro-electron and its integration with vite-plugin-electron.
This is only a template for those that want to keep using astro when working with electronJS.
I have added electron-builder and also implemented a way to read files through electronAPI
.
It should not contain a single require
, which is always nice.
And it also includes React.
npm install
npm run dev
npm run build // tested on MacOs