Yeoman Generator for BlackBerry10 Cordova Apps with a Headless component
npm install generator-bb10-headless
npm install -g yo
`
Install the generator globally as well
`
npm install -g generator-bb10-headless
`
$3
Run the generator like so, in the directory where you want to generate the new app:
`
yo bb10-headless
`
The BlackBerry10 platform and Invoke plugin will be added and the project prepared for building.
$3
Finally, run the sample so it builds to your device:
`
cordova run
``