0.1.0 • Published 7 years ago
@wtf/components v0.1.0
WeTry.fun WebComponents
A collection of WebComponents
Installation
Script tag
- 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.
Node Modules
- 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.
In a stencil-app-starter app
- 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.