Skip to content

airtoxin/nw-react-app-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nw-react-app-boilerplate

An application boilerplate of nw.js(node-webkit) with React.js

Requirements

  • NodeJS
  • NPM

Install

git clone "https://github.com/thevtm/nw-react-app-boilerplate" "your-directory"
./configure
npm install

Usage

npm start Compile and run app.

npm run build Compile and package app.

Config

Configuration is done through the package.json and the gulp files (./gulp).

Set $NODE_ENV to production to enable production build/compilation.

How to use nw's api

To call nw's api, it is necessary to use window.require, because browserify rewrites require statement.

ex) var gui = window.require( 'nw.gui' );

About

An application boilerplate of nw.js(node-webkit) and React.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published