0.1.10 • Published 7 years ago
generator-rrrw v0.1.10
generator-rrrw
yeoman generator with react,redux,react-redux-router,webpack,babel,es6,autoprefixer,HMR,css-module
Installation
First, install Yeoman and generator-rrrw using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-rrrw
Then generate your new project:
yo rrrw
Directory
There is a TodoMVC demo in src/
, after npm start
we can open http://localhost:5959/ run the demo
src/
├── index.html
├── index.js
├── base.css
├── assets/
├── actions/
├── components/
├── constants/
├── containers/
├── middleware/
├── reducers/
└── store/
Attention
If you need to support IE9/IE10:
After generate project,we need to add ['transform-es2015-classes', {loose: true}]
in .babelrc in plugins fields
Contains
- React
- Redux
- React Router Redux
- Webpack
- Redux DevTools Extension
- Babel
- Autoprefixer
- PostCSS
- CSS modules
- TodoMVC demo
- Anything else? welcome contribute!
Watch & Hot Module Replace
$ npm start
production build
$ npm run build
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
Apache-2.0 © 半边
0.1.10
7 years ago
0.1.9
7 years ago
0.1.8
7 years ago
0.1.7
8 years ago
0.1.6
8 years ago
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago
0.0.0
8 years ago