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 to setup electron apps using vue. Since vue can take advantage of module loaders like webpack, getting everything to play nicely can be a little tricky.
Check out the documentation here.
Things you'll find in this boilerplate...
- Basic project structure
- 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 create builds of your electron app using electron-packager
- Handy NPM scripts
- Use of webpack and vue-loader for Hot Module Replacement
- CSS/JS pre-processor support with vue-loader
- ES6 by default
- ESLint (extends 'standard')
This boilerplate was built as a template for vue-cli.
# 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
Wanting to submit a pull request? Make sure to read this first.