Skip to content

Boilerplate app for Electron with React ( Node.js, React.js, Redux, Webpack, CSS Modules, PostCSS, Babel, ES2015, ESLint ... )

License

Notifications You must be signed in to change notification settings

hahoocn/react-electron-boilerplate

Repository files navigation

react-electron-boilerplate

Boilerplate app for Electron with React

Installation

You'll need to have Node.js to get started.

$ git clone https://github.com/hahoocn/react-electron-boilerplate.git
$ npm install

Running Dev Server (Development)

$ npm run start:hot
$ npm run start:dev

or run two servers with one command

$ npm run dev

After waiting for the webpack package, refresh the program

Redux DevTools

We used Electron DevTools Installer and Redux DevTools Extension

Building and Running Production

$ npm run build
$ npm run start

Package

$ npm run package-mac
$ npm run package-win

package.json to modify the package configuration.

Packaged file output to the release folder

Clean Build Folder

$ npm run clean

Clean Release Folder

$ npm run clean:release

About

Boilerplate app for Electron with React ( Node.js, React.js, Redux, Webpack, CSS Modules, PostCSS, Babel, ES2015, ESLint ... )

Resources

License

Stars

Watchers

Forks

Packages

No packages published