1.3.1 • Published 4 years ago
web-components-jack v1.3.1
Web Components build by stencil
Using this component
Script tag
unpkg:
<script type="module" src="https://unpkg.com/web-components-jack"></script>- Put a script tag to the head of your index.html
- Then you can use the element anywhere in your template, JSX, html etc
Node Modules
- Run
npm install web-components-jack --save - Put a script tag similar to this
<script type='module' src='node_modules/web-components-jack/dist/web-components-jack.esm.js'></script>in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
In a stencil-starter app
- Run
npm install web-components-jack --save - Add an import to the npm packages
import web-components-jack; - Then you can use the element anywhere in your template, JSX, html etc