INSTALL
First, install Node.js, then Yarn. While Node.js ships with NPM, Yarn is mandatory for NKMjs
Open a command prompt in the folder where you want to quickstart a project; then do :
npm install @nkmjs/core
npm install @nkmjs/core-dev --save-dev
or using Yarn
yarn add @nkmjs/core
yarn add @nkmjs/core-dev --dev
QUICKSTART
In order to initialize your project for NKMjs, use the bootstrap wizard :
npm run nkmjs bootstrap
You can now start your app (in electron) by doing :
npm run nkmjs start
After you do your own magic, you can then build your app using :
npm run nkmjs build
Note that if you want to distribute an Electron build, it is mandatory to use Yarn to manage your dependencies instead of npm.