genie-component-library

Genie Component Library

Usage no npm install needed!

<script type="module">
  import genieComponentLibrary from 'https://cdn.skypack.dev/genie-component-library';
</script>

README

Built With Stencil

npm version Dependency Status devDependency Status npm

liberapay donate patreon paypal

Genie Component Library

Card

Stripe

Using this component

Script tag

  • Publish to NPM
  • Put a script tag similar to this <script src='https://unpkg.com/genie-component-library@0.15.0/dist/genie.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install genie-component-library --save
  • Put a script tag similar to this <script src='node_modules/genie-component-library/dist/genie.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 genie-component-library --save
  • Add an import to the npm packages import genie;
  • Then you can use the element anywhere in your template, JSX, html etc