The boilerplate for making electron apps built with vue (pretty much what it sounds like).
The aim of this project is to remove the need of manually setting up electron apps using vue. electron-vue takes advantage of vue-cli
for scaffolding, webpack
and vue-loader
, and some of the most used plugins like vue-router
, vuex
, and more.
Check out the documentation here.
Things you'll find in this boilerplate...
- Support for both Vue.js at
1.x.x
and2.x.x
(usingnext
)* - Basic project structure
- Detailed documentation
- Project scaffolding using vue-cli
- Ready to use Vue plugins (vue-electron, vue-resource, vue-router, vuex)*
- Installed vue-devtools and devtron tools for development
- Ability to easily package your electron app using electron-packager
- Handy NPM scripts
- Use of webpack and vue-loader with Hot Module Replacement
- HTML/CSS/JS pre-processor support with vue-loader
- ES6 with
stage-0
by default - ESLint (support for
standard
andairbnb-base
)*
*Customizable during vue-cli scaffolding
This boilerplate was built as a template for vue-cli and includes options to customize your final scaffolded app.
# Install vue-cli and scaffold boilerplate
npm install -g vue-cli
vue init simulatedgreg/electron-vue my-project
# Install dependencies and run your app
cd my-project
npm install
npm run dev
Make sure to take a look at the documentation. Here you will find useful information about configuration, project structure, and building your app. There's also a handy FAQs section.
Wanting to submit a pull request? Make sure to read this first.