A collection of WebComponents
- Put a script tag similar to this
<script src='https://unpkg.com/@wtf/components/dist/wtf.js'></script>in the head of yourindex.html - Then you can use the element anywhere in your template, JSX, html etc.
- Run
npm install @wtf/components --save - Put a script tag similar to this
<script src='node_modules/@wtf/components/dist/wtf.js'></script>in the head of yourindex.html - Then you can use the element anywhere in your template, JSX, html etc.
- Run
npm install @wtf/components --save - Add an import to the npm packages:
import '@wtf/components'; - Then you can use the element anywhere in your template, JSX, html etc.