0.1.5 • Published 9 years ago
generator-react-flux-router-boilerplate v0.1.5
Yeoman Generator for Creating React, Flux with Router Boilerplate
generator-react-flux-router-boilerplate Yeoman generator for a full React, Flux and Router boilerplate.
Based On
Directory Layout
.
├── /build/ # The folder for compiled output
├── /config/ # Configuration files for Webpack, Jest etc.
├── /node_modules/ # 3rd-party libraries and utilities
├── /src/ # The source code of the application
│ ├── /actions/ # Action creators that allow to trigger a dispatch to stores
│ ├── /assets/ # All assets files
│ ├── /components/ # React components. E.g. Navbar.jsx, Calendar.jsx
│ ├── /constants/ # Enumerations used in action creators and stores
│ ├── /dispatcher/ # Dispatcher
│ ├── /layouts/ # Shared layouts for top-level components
│ ├── /pages/ # Top-level, URL-bound React components
│ ├── /stores/ # Stores contain the application state and logic
│ ├── /utilities/ # Utilities such as libraries or common tools
│ ├── /app.js # The application's bootstrap file, entry point
│ ├── /config.js # The application's config file
│── gulpfile.js # Configuration file for automated builds
└── package.json # The list of 3rd party libraries and utilities
Getting Started
$ npm install -g generator-react-flux-router-boilerplate
$ mkdir your-app
$ cd your-app
$ yo react-flux-router-boilerplate
$ gulp
How to Build
$ gulp build # `gulp build --watch`, or `gulp build --release`
How to Run
$ gulp # or, `gulp --release`
Debug
Simply add --verbose
when running gulp
command
Support
Have any feedback, feature request or anything? Please let me know.