Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 713 Bytes

README.md

File metadata and controls

42 lines (31 loc) · 713 Bytes

@tianditu/wc

npm version npm downloads npm license

Web components for tianditu, powered by Demo Macro.

Getting started

CDN

<html>
  <head>
    <script
      type="module"
      src="https://cdn.jsdelivr.net/npm/@tianditu/wc/dist/web-components/web-components.esm.js"
    ></script>
  </head>
  <body>
    <tdt-map tk=""></tdt-map>
  </body>
</html>

NPM

# npm
$ npm install -D @tianditu/wc

# yarn
$ yarn add -D @tianditu/wc

# pnpm
$ pnpm add -D @tianditu/wc

License