Skip to content

Latest commit

 

History

History
88 lines (63 loc) · 2 KB

README-EN.md

File metadata and controls

88 lines (63 loc) · 2 KB

📊 react-admin-tp

React typescript backend management system project template, built-in dynamic nested routing, data mock, tailwindcss 🌙 Dark mode, dynamic breadcrumbs, custom form components。中文

Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge

webpack or vite

Static Badge Static Badge

Recommend using react-tp-cli

main dependency

  • axios
  • ahooks
  • tailwindcss
  • ant-design
  • mobx

scripts

  • build entry
    • webpack.config.js
    • vite.config.ts
  • xxxx.config.js (env build config)

env

  • .env (global)
  • .env.xxxx (dynamic)

src

  • api
  • assets
  • components
  • config
  • layout
  • mock
  • pages
  • router
  • store
  • types
  • utils

install

// install pnpm
npm i pnpm -g

// install dependencies
pnpm i

run

// dev
pnpm start

// pro
pnpm build

dynamic router

// Configuration reference
GLOBAL_ROUTERS.APP_PAGE;

// set your router config
store.setDynamicRoutes(routerConfig);

If you have any questions, please raise them issue issue☹ star★

Security Status