an open source demo to illustrate how to use electron-vue boilerplate to build a robust Mac/windows App
# 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 onlocalhost: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 onlocalhost: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