Skip to content

Latest commit

 

History

History
 
 

ui

TiDB Dashboard UI

Arch

ui arch

Run

Dev

  1. install pnpm: npm install -g pnpm
  2. pnpm i
  3. pnpm dev

Note:

You can run pnpm dev:op, pnpm dev:dbaas, pnpm dev:clinic-op, pnpm dev:clinic-cloud only to start a specific dashboard variant, while pnpm dev starts all of them.

Before starting pnpm dev:dbaas, you need to start dbaas ui.

Before starting pnpm dev:clinic-op and pnpm dev:clinic-cloud, you need to start clinic ui.

Build

  1. pnpm build

Publish tidb-dashboard-for-dbaas NPM package

  1. pnpm build
  2. cd packages/tidb-dashboard-for-dbaas
  3. pnpm publish --access public

Publish tidb-dashboard-for-clinic-op NPM package

  1. pnpm build
  2. cd packages/tidb-dashboard-for-clinic-op
  3. pnpm publish --access public

Publish tidb-dashboard-for-clinic-cloud NPM package

  1. pnpm build
  2. cd packages/tidb-dashboard-for-clinic-cloud
  3. pnpm publish --access public