Skip to content

an open source demo to illustrate how to use electron-vue boilerplate to build a robust Mac/windows App

Notifications You must be signed in to change notification settings

daggerjames/electron-vue-demo

Repository files navigation

electron-vue-demo

an open source demo to illustrate how to use electron-vue boilerplate to build a robust Mac/windows App

Build Setup

# install dependencies
yarn install

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



# build electron application for production
npm run build

# run unit & end-to-end tests
npm test


# lint all JS/Vue component files in `src/`
npm run lint

npm run dev would start following sub process:

  • it would start an express api server on localhost:8081, and the vue hot-reload-server for electron on localhost:9080.

npm run dev:web would start following sub process:

  • it would start an express api server on localhost:8081, and the vue hot-reload-server for web on localhost:8080.

The build config in .electron-vue is incompatible with original webpack boilerplate. Since it was widely used among original vue project, I modified files in .electron-vue to make webpack config look familiar.


This project was generated with electron-vue@ef811ba using vue-cli. Documentation about the original structure can be found here.

vue init simulatedgreg/electron-vue electron-vue-demo

// do not install vue plugins here
// Standard eslint config

About

an open source demo to illustrate how to use electron-vue boilerplate to build a robust Mac/windows App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published