A Small minimal framework structure to get started developing with electron
Just clone it to your dev machine and run yarn
to install dependencies.
git clone https://github.com/electron-userland/electron-webpack-quick-start.git
cd electron-webpack-quick-start
rm -rf .git
# install dependencies
yarn
yarn package manager is npm
on steroids -> use it, don't by lazy.
run application in development mode
yarn dev
compile source code and create webpack output
yarn compile
yarn compile
& create build with electron-builder
yarn dist
yarn compile
& create unpacked build with electron-builder
yarn dist:dir