Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/airtoxin/nw-react-app-boilerplate
An application boilerplate of nw.js(node-webkit) and React.js
https://github.com/airtoxin/nw-react-app-boilerplate
Last synced: about 9 hours ago
JSON representation
An application boilerplate of nw.js(node-webkit) and React.js
- Host: GitHub
- URL: https://github.com/airtoxin/nw-react-app-boilerplate
- Owner: airtoxin
- License: mit
- Created: 2015-01-26T15:31:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-24T13:12:45.000Z (almost 9 years ago)
- Last Synced: 2024-04-13T08:13:20.654Z (7 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 16
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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' );`