This is just another Electron boilerplate. I created this because anything I found over the internet failed to compile using current version of webpack due to a bug.
This specific boilerplate provides
- Webpack support using electron-webpack
- Vue.js support using vue and electron-webpack-vue add-on
- Typescript support using typescript, tslint, ts-loader and electron-webpack-ts add-on
- Less support using less and less-loader
It is highly recommended to use Yarn package manager instead of NPM. As of today installing packages using NPM will result in failing webpack compilation.
# Clone the repository ...
$ git clone https://github.com/patrickberger/electron-webpack-ts-vue-boilerplate
# ... and install dependencies.
yarn
Available scripts:
# Run in development mode.
yarn dev
# Compile.
yarn compile
# Build an installer for your current platform.
yarn build