0.1.0 • Published 3 years ago

@datntdev/cra-template-redux-router v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@datntdev/cra-template-redux-router

This is Create React App template of @datntdev0.

This includes some features:

  • Add Sass compiler for using .scss stylesheet in project.
  • Code style guide and coding convention with Prettier and ESlint tools.
  • Component tests with Jest tool.
  • End to end tests with Cypress tool.
  • Debugging component tests in VSCode.
  • In main branch: build project in production.
  • In develop branch: run component tests and end-to-end tests.
  • React-Redux with Redux Toolkit, demo with counter.
  • React-Router with 3 demo routes:
  • Component tests, reducer tests and end-to-end tests.

Usages

To use this template, add --template @datntdev/redux-router when creating a new app.

For example:

npx create-react-app my-app --template @datntdev/redux-router
# or
yarn create react-app my-app --template @datntdev/redux-router