node-webkit-boilerplate
node-webkit-boilerplate copied to clipboard
[Unmaintained]
Node Webkit Boilerplate
Note: this project was using a very early version of the old node-webkit library so please use at your own risk as a lot of things have changed since then. This repo is no longer being maintained.
Get a node webkit application up and running in no time! I have included a small example with Vue.js and Browserify to get you going quickly on a highly modular and testable application.
Application Structure
All development takes place in the app folder. With gulp your files with be bundles up with Browserify and then sent to the public folder. The public folder contains the package.json for the application window, as well as the base index.html file for the application.
Prerequisites
- Node.js
- Git
- Gulp.js (
npm install gulp -g)
Workflow
- Git clone
https://github.com/brandonjpierce/node-webkit-boilerplate.git - Run
npm install - Run
gulp - Start the application with
npm run app(I usually do this in a separate terminal)
Linux Users
You may have an issue where your system will not be able to find libudev.so.0. If that is the case you can do the following:
- Go into
node_modules/nodewebkit/nodewebkit/ - Run
sed -i 's/\x75\x64\x65\x76\x2E\x73\x6F\x2E\x30/\x75\x64\x65\x76\x2E\x73\x6F\x2E\x31/g' nw - Profit