@dappre/dap-wc
v0.0.13
Published
Web components for Dappre projects
Downloads
107
Maintainers
Readme
Dap-WC
Web components for Dappre projects.
Built with Lit.
Get started
npm i @dappre/dap-wc
Usage
Import all components.
import "@dappre/dap-wc/dist/dap-wc.js"
Import only what you need.
import "@dappre/dap-wc/dist/components/dap-card/dap-card.js"
import "@dappre/dap-wc/dist/components/dap-full-screen-toggle/dap-full-screen-toggle.js"
import "@dappre/dap-wc/dist/components/dap-global-menu/dap-global-menu.js"
import "@dappre/dap-wc/dist/components/dap-global-menu-item/dap-global-menu-item.js"
import "@dappre/dap-wc/dist/components/dap-participant-card/dap-participant-card.js"
import "@dappre/dap-wc/dist/components/dap-participant-logo/dap-participant-logo.js"
import "@dappre/dap-wc/dist/components/dap-participants-ticker/dap-participants-ticker.js"
import "@dappre/dap-wc/dist/components/dap-qr-code/dap-qr-code.js"
import "@dappre/dap-wc/dist/components/dap-scroll-to-top-button/dap-scroll-to-top-button.js"
import "@dappre/dap-wc/dist/components/dap-search-participant/dap-search-participant.js"
import "@dappre/dap-wc/dist/components/dap-search-beneficiary/dap-search-beneficiary.js"
import "@dappre/dap-wc/dist/components/dap-spinner/dap-spinner.js"
You'll probably need a module bundler like Rollup to do some tree-shaking.