Just run the following commands to install electron-vitejs-react-boilerplate with typescript.live reaload enabled.
git clone https://github.com/gihanrangana/electron-vitejs-react-boilerplate.git && cd electron-vitejs-react-boilerplate
npm install
npm run electron
yarn install
yarn electron
just do the following.
{
"main": "electron/electron.js",
"scripts": {
"electron": "concurrently \"npm run dev\" \"electron .\""
}
}then run npm run electron or yarn electron
npm run app:build or yarn app:build
your output will be saved under electron_build directory.