1.0.4 • Published 2 years ago
react-ts-cms v1.0.4
Introduction
React Admin is a free and open source middle and back-end template. Using the latest React
, Vite
, TypeScript
and other mainstream technology development, the out-of-the-box middle and back-end front-end solutions can also be used for learning reference.
Preparation
- node and git - Project development environment
- Vite - Familiar with vite features
- ReactJs - Familiar with react basic syntax
- TypeScript - Familiar with the basic syntax of
TypeScript
- Es6+ - Familiar with es6 basic syntax
- Ant-Design-react - ui basic use
Install and use
- Installation dependencies
npm install
- run
npm run dev
- build
# build for production
npm run build:production
# build for staging
npm run build:staging
- check eslint
npm run lint:fix
- format code
npm run lint:format
How to pull request
- Fork code!
- Create your own branch:
git checkout -b feature/xxxx
- Submit your changes:
git commit -m 'type: subject'
- Push your branch:
git push origin feature/xxxx
- submit
pull request
Git Contribution submission specification
reference react specification (Angular)
feat
Add new featuresfix
Fix the problem/BUGstyle
The code style is related and does not affect the running resultperf
Optimization/performance improvementrefactor
Refactorrevert
Undo edittest
Test relateddocs
Documentation/noteschore
Dependency update/scaffolding configuration modification etc.workflow
Workflow improvementsci
Continuous integrationtypes
Type definition file changeswip
In development
Example:
git commit -m "chore: lint commit message"
- Exception: Can't find node in PATH, trying to find a node binary on your system
- Run:
echo "export PATH=\"$(dirname $(which node)):\$PATH\"" > ~/.huskyrc
- Run:
License
Copyright (c) 2022