Creates a react class js file, a test js file, and a sass file.
Installation
First, install Yeoman and generator-react-class using npm (we assume you have pre-installed node.js).
npm install -g yonpm install -g generator-react-class
Then generate your new project:
yo react-class
Running your project
You will need to install gulpjs, and nodemon globally.
npm install -g gulpnpm install -g nodemon
Running in development mode
npm run dev
NODEMON Known Issue
In the generated node app, there is a problem in the npm run dev
script
that currently requires you to run npm run dev
twice.
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
MIT © Christian Wilkerson