Skip to content
Snippets Groups Projects

Typescript Example Web Component

This web component is just an example for how to write one using typescript. While we don't use typescript in our other components we want our dev/build pipeline to support it.

You can install this component via npm:

npm i @dbp-toolkit/typescript-example

Or use it directly via CDN:

<dbp-typescript-example></dbp-typescript-example>
<script type="module" src="https://unpkg.com/@dbp-toolkit/typescript-example@0.2.2/dist/dbp-typescript-example.js"></script>