- 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
- 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
- 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