Note: requires Node.js >= 9 and Yarn
First, clone the repo via git:
git clone https://github.com/pokusew/electron-vue-nfc.git
Then, cd into repo dir and install dependencies with Yarn:
cd electron-vue-nfc && yarn
Finally, rebuild Note Native Modules (nfc-pcsc) using this command:
yarn run rebuild
Run this two commands simultaneously in different console tabs.
yarn run hot-server
yarn run start-hot
If you install new dependencies,
you have to rebuild Note Native Modules (nfc-pcsc) against Electron's Node.js version.
Run the following command:
yarn run rebuild
Build main and renderer with:
yarn run build
Start built version:
yarn run start
TODO