@pingcap/tidb-dashboard-for-clinic

0.0.4 • Public • Published

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>

Readme

Keywords

none

Package Sidebar

Install

npm i @pingcap/tidb-dashboard-for-clinic

Weekly Downloads

1

Version

0.0.4

License

ISC

Unpacked Size

20.1 MB

Total Files

6

Last publish

Collaborators

  • suhaihuang
  • yini_x
  • pingcap-incubator