/vue-electron-simple

Simple boilerplate featuring Vue.js and Electron

Primary LanguageJavaScript

vue-electron-simple

A simple boilerplate featuring Vue.js and Electron

Installation

# install Electron globally
npm install -g electron-prebuilt

# install dependencies
npm install

Usage

# serve with hot reload at localhost:8080
npm run dev

# launch the desktop app
npm run app

Build

# install Electron Packager globally
npm install electron-packager -g

# build for production with minification
npm run build

Note: replace linux, x64, 0.37.2 in package.json with your own settings.

This boilerplate is based on vue-webpack-boilerplate and iCultus.