- The generator-react-webpack module is an Yeoman generator to create ReactJS based application boiler plate.
- The generator-react-webpack can be installed using npm install generator-react-webpack –g command.The following screenshot shows the terminal with generator-react-webpack installation.
- On successful installation we can use this generator to create ReactJS application boiler plate.To create a ReactJS boiler plate use yo react-webpack command.The following screenshot shows the terminal with react-webpack command in execution.
- The boiler plate generation process as multiple questions to the developer like choosing CSS framework.On completion of boiler plate generation it creates a directory structure.The updated structure looks like following screenshot:-
- The demo code can be loaded using grunt serve command.The following screenshot shows the gulp serve command in execution.
- The output of this demo looks like following screenshot:-
- The demo code can be downloaded from the following URL:-
https://github.com/saan1984/YomanReactDemo