@pingcap/tidb-dashboard-for-dbaas

0.0.92 • Public • Published

TiDB Dashboard for DBaaS

NPM: @pingcap/tidb-dashboard-for-dbaas

How to Use

<!DOCTYPE html>
<html>
  <head>
    <!-- ... -->
    <link
      rel="stylesheet"
      href="https://cdn.jsdelivr.net/npm/@pingcap/tidb-dashboard-for-dbaas@<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-dbaas@<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-dbaas

Weekly Downloads

5

Version

0.0.92

License

ISC

Unpacked Size

33 MB

Total Files

6

Last publish

Collaborators

  • suhaihuang
  • yini_x
  • pingcap-incubator