Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 781 Bytes

File metadata and controls

44 lines (30 loc) · 781 Bytes

electron-vitejs-react-boilerplate

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

npm install
npm run electron

YARN

yarn install
yarn electron

Without TypeScript for electron

just do the following.

package.json

{
  "main": "electron/electron.js",
  "scripts": {
    "electron": "concurrently \"npm run dev\" \"electron .\""
  }
}

then run npm run electron or yarn electron

To build the project

npm run app:build or yarn app:build

your output will be saved under electron_build directory.