An electron-vue project
NodeJS: v8.11.3
# install dependencies
npm install [or yarn]
npm run serve [or yarn serve]
# install dependencies
npm install [or yarn]
# re-build OS Modules
# もしかするとOSごとにビルドし直す必要がありそう?
# Python2.X系でビルドする必要がある
./node_modules/.bin/electron-rebuild -f iohook
# もしくはビルドが大変そうなら
mkdir -p node_modules/iohook/builds/electron-v57-darwin-x64/build/Release
cp iohook.node node_modules/iohook/builds/electron-v57-darwin-x64/build/Release/iohook.node
# environment variable
cp .env.sample .env
# set google api key and secret
vi .env
# static file copy
cp node_modules/tesseract.js/dist/tesseract.min.js static/tesseract.min.js
# serve with hot reload at localhost:9080
npm run dev [or yarn dev]
# build electron application for production
npm run build [or yarn build]
# lint all JS/Vue component files in `src/`
npm run lint [or yarn lint]
This project was generated with electron-vue@4c6ee7b using vue-cli. Documentation about the original structure can be found here.