/vue-electron-template

An Electron & Vue.js boilerplate with Hot-reloading enabled and common Vue plugins, dev and build scripts configured.

Primary LanguageCSSMIT LicenseMIT

Vue-Electron-Template

Build status Build Status

The boilerplate for making electron applications using vue.js

Overview

The aim of this template is to remove the need of manually setting up electron apps using vue. vue-electron takes advantage of webpack-4 with vue-loader, electron-builder, and some of the most used plugins like vue-router, vuex and so much more to provide an easy to use development and building enviroment.

What does it offer?

Getting Started

Clone this repository, install dependencies and run using either dev or build command.

# Clone this repository
git clone https://github.com/mubaidr/vue-electron

# change directory to cloned path
cd vue-electron

# Install dependencies
npm install

# Run in `DEV` mode
npm run dev

# Build installer for this app
npm run build

# Build directory for this app with executeable
npm run build:dir

# Lint all source files using ESLINT
npm run lint

Project structure

src contains all the source files.

src/main contains electron main script.

src/renderer contains vue-js application.

vue-electron directory contains dev and build scripts

Credits

All credits to authors of packages and tools used in the project.

* This template is inspired by electron-vue