Skip to content

Gu-Miao/react-template-antd-craco

Repository files navigation

React Project Template

A simple react project template using create-react-app.

Packages used

  • create-react-app@5
  • craco@7
  • react@18
  • react-router-dom@6
  • antd@5
  • @reduxjs/toolkit, react-redux
  • sass
  • husky, lint-staged
  • eslint, prettier
  • typescript

There is also an old version of template using cra@4, see this.

Features

  • Use pnpm as package manager
  • Latest version react
  • Fully Typescript support
  • Use ant design as component library
  • Best practices of redux
  • Customize create-react-app configuration using craco
  • eslint + prettier + editorconfig
  • husky + lint-staged
  • Lazy loading routes with nprogress fallback
  • Proxy management

References

LICENSE

MIT