TiDB Dashboard for Clinic
NPM: @pingcap/tidb-dashboard-for-clinic
How to Use
<!DOCTYPE html>
<html>
<head>
<!-- ... -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@pingcap/tidb-dashboard-for-clinic@<version>/dist/main.css"
/>
</head>
<body>
<div id="root"></div>
<script type="module">
import startDashboard from 'https://cdn.jsdelivr.net/npm/@pingcap/tidb-dashboard-for-clinic@<version>/dist/main.js'
// get tidb dashboard api path base and api token
// ...
// startDashboard by apiPathBase and apiToken
startDashboard({ apiPathBase, apiToken })
</script>
</body>
</html>