Electron React Template
This is a light-weight template for creating Electron App within React. With it, you can easily create an application works on MacOS, Windows and Linux.
What's included
- ES6
- React, JSX
- Sass/Scss, Less
- webpack-dev-server supporting hot-module-replacement
How to use
First, you should clone this repo to your local via git like this:
git clone --depth 1 --single-branch --branch master https://github.com/SmallStoneSK/electron-react-template.git your-app
Then, you should install the dependencies like this:
cd your-app
npm install
After having installed, you can via following command to start app in dev
mode:
npm run dev
And if you want to run app in prod
mode, you can do like this:
npm run build
npm run prod