Skip to content

pokusew/electron-vue-nfc

Repository files navigation

electron-vue-nfc

Electron + Vue + nfc-pcsc

Note: requires Node.js >= 9 and Yarn

Install

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

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

Build main and renderer with:

yarn run build

Start built version:

yarn run start

Package and release

TODO