1.0.4 • Published 2 years ago

react-ts-cms v1.0.4

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

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

  1. Fork code!
  2. Create your own branch: git checkout -b feature/xxxx
  3. Submit your changes: git commit -m 'type: subject'
  4. Push your branch: git push origin feature/xxxx
  5. submitpull request

Git Contribution submission specification

  • reference react specification (Angular)

    • feat Add new features
    • fix Fix the problem/BUG
    • style The code style is related and does not affect the running result
    • perf Optimization/performance improvement
    • refactor Refactor
    • revert Undo edit
    • test Test related
    • docs Documentation/notes
    • chore Dependency update/scaffolding configuration modification etc.
    • workflow Workflow improvements
    • ci Continuous integration
    • types Type definition file changes
    • wip 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

License

Copyright (c) 2022