README
RecycleClub Calculator
A Web Component to check what your empty cartridges are worth. The RecycleClub Calculator can be implemented and used across any JavaScript framework or no framework at all. We accomplish this by using standardized web platform APIs and Web Components.
Using this component
- Put a script tag similar to this
<script src='https://cdn.jsdelivr.net/npm/recycleclub-calculator/dist/recycleclub-calculator/recycleclub-calculator.esm.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc.
Development
To start building the components using Stencil, clone this repo to a new directory:
git clone https://github.com/Way2Web/recycleclub-calculator.git recycleclub-calculator
cd recycleclub-calculator
and run:
npm install
npm start
To build the component for production, run:
npm run build
To run the unit tests for the components, run:
npm test
Need help? Check out our docs here.