genie-component-library
Version:
Genie Component Library
36 lines (24 loc) • 3.19 kB
Markdown

[](https://www.npmjs.com/package/genie-component-library)
[](https://david-dm.org/genie-team/genie-component-library)
[](https://david-dm.org/genie-team/genie-component-library/?type=dev)
[](https://github.com/genie-team/genie-component-library/blob/master/LICENSE)
[](https://liberapay.com/aCoreyJ/donate)
[](https://www.patreon.com/acoreyj/overview)
[](https://www.paypal.com/pools/c/872dOkFVLP)
# Genie Component Library
## [Card](https://github.com/genie-team/genie-component-library/tree/master/src/components/genie-card)
## [Stripe](https://github.com/genie-team/genie-component-library/tree/master/src/components/genie-stripe)
## Using this component
### Script tag
- [Publish to NPM](https://docs.npmjs.com/getting-started/publishing-npm-packages)
- 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