Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hung-phan/generator-react
Yeoman generator for react.js, bundle with require.js and browserify
https://github.com/hung-phan/generator-react
Last synced: about 10 hours ago
JSON representation
Yeoman generator for react.js, bundle with require.js and browserify
- Host: GitHub
- URL: https://github.com/hung-phan/generator-react
- Owner: hung-phan
- License: mit
- Created: 2014-03-16T04:31:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-29T06:42:06.000Z (almost 10 years ago)
- Last Synced: 2024-04-10T20:38:51.887Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 402 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# generator-react
A generator for [Yeoman](http://yeoman.io).
## Getting Started
To run this version of yeoman generator. First, make sure that you have already installed yeoman
```bash
$ npm install -g yo
$ npm -g install hung-phan/generator-react
```Finally, initiate the generator:
```bash
$ yo react
```Other dependencies
1. [Bower] (http://bower.io/)
2. [Grunt] (http://gruntjs.com/)
3. Compass (gem install compass)
4. SASS (gem install sass)
5. [Browserify] (browserify.org)
## Browserify alias
Alias for grunt browserify task are declared in __browserify.config.js__ with the format of __path:alias__.## Usage
The version of generator uses SASS Bootstrap as its main theme. If you want to use Compass framework, make sure that you
view their docs to know what to include [Compass](http://compass-style.org/reference/compass)To run the serve, and start building your application
```bash
$ grunt serve
```
It will automatically open the webpage on your localhost:9000, or you will have to do it manualllyTo build files for production
```bash
$ grunt build
```## Routing
For control different components and their data logic, the generator uses [flatiron/director] (https://github.com/flatiron/director)
to control routing and binding of corresponding components.## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License)