Skip to content

kenve/react-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Template

A React Project Template

Folder

.
├── README.md
├── antd.config.js                # antd theme configuration file
├── babel.config.js               # babel configuration file
├── commitlint.config.js          # git commit lint configuration file
├── config                        # system configuration folder
├── cypress                       # cypress folder
├── cypress.json                  # cypress configuration file
├── devops                        # devops folder, eg: Helm charts configuration
├── dist                          # build folder
├── docker                        # docker folder, eg: Dockerfile、nginx.conf
├── jest.config.js                # jest configuration file
├── package.json
├── public                        # pubilc assets folder, eg: favicon.ico
├── src                           # source folder
│   ├── App.tsx                   # entry component
│   ├── assets                    # source assets folder, eg: fonts、images、styles
│   │   ├── fonts
│   │   ├── images
│   │   └── styles
│   ├── components                # common components folder
│   ├── constant                  # constant values
│   ├── contexts                  # react contexts folder
│   ├── hooks                     # react hooks folder
│   ├── index.html                # html template file
│   ├── index.less                # global style, eg: reset browser default style
│   ├── index.tsx                 # entry file
│   ├── layouts                   # layouts folder
│   ├── pages                     # pages folder
│   ├── routes                    # routes configuration
│   ├── services                  # http service folder,it's not necessary if used swr or react-query
│   ├── typings                   # typescript types
│   │   └── index.d.ts
│   └── utils                     # common utils folder
├── tests                         # test configuration folder
├── tsconfig.json                 # typescript configuration
├── webpack.base.config.js        # webpack basic configuration
├── webpack.dev.config.js         # wepback develop configuration
└── webpack.prod.config.js        # webpack product configuration