A NW.JS (Node-Webkit) slush generator for NW.js, [Bootstrap+Jquery] and Angular
Slush generator for NW.js (Node-Webkit). This generator is a fork of slush-wean but without express and with improved features
As well for yeoman
Install slush-nww globally:
$ npm install -g slush-nwwYou need to have node, gulp, slush and bower installed globally before running the command. Therefore download node from the link and run:
npm install -g slush gulp bower
You could have a error downloading bower components, for solve this execute bower install --allow-root && gulp bower with root permissions.
Create a new folder for your project:
$ mkdir my-slush-nwwRun the generator from within the new folder:
$ cd my-slush-nww && slush nwwYou can use sass in your project. For convert scss to css file you must run grunt watch, sure that file is in scss folder. Scss files also be coverted to css before building app.
To run the app execute
$ gulp runTo build the app for mac run
$ gulp build --macTo build the app for windows run
$ gulp build --winTo build the app for linux run
$ gulp build --linux32or
$ gulp build --linux64To build for all platforms run
$ gulp buildSlush is a tool that uses Gulp for project scaffolding.
Slush does not contain anything "out of the box", except the ability to locate installed slush generators and to run them with liftoff.
To find out more about Slush, check out the documentation.