0.1.0 • Published 1 year ago

mody-ecom-js v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Include mody library in your html code

<script src="https://unpkg.com/modyjs@0.1.0/build/mody.min.js" defer></script>

Setup required fields

After lib is included, add the following tag

<script src="https://unpkg.com/ecom-js@0.1.0/build/mody.min.js"
        data-mody
        data-entity="entity-uuid" //optional
        data-item="item-uuid"
        data-cta="Find your size"
        data-fail="An error has occurred"
        data-success="Your size is $mody-size! Tap for a new one"
        data-qr="Scan this QRcode to start with Mody"
        defer>

Rebuild lib

npm run build