Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 1.89 KB

README.md

File metadata and controls

54 lines (44 loc) · 1.89 KB

React with redux app

React 16 app setup with Webpack 4, axios, react router 4 and Redux. More information on the setup project and wiki. For the http requests basics project and wiki. For routing basics project and wiki. For redux basics project and wiki


Install dependencies

cd path-to-your-project
npm install

Additional install

npm i -g ntl
  • By running ntl you can choose which script to run. For example start, build, build:prod and watch will be some of the choices. All of these scripts are in the package.json file in the scripts object.
  • Command to start ntl and choose an option
ntl

Without ntl

If you don't want to use ntl you can use the npm run command with the chosen script, examples:

  • For development bundle
npm run build
  • For production ready bundle
npm run build:prod
  • For development server
npm start
  • For Webpack watch
npm run watch
  • For testing with jest
npm run test

License

MIT