1.1.2 • Published 1 year ago
@dotdev/dotapparel-voucher-widget v1.1.2
DotApparel Voucher Widget
React widget for redeeming Apparel21 vouchers in the Shopify checkout.
Installation
In layout/checkout.liquid
, add the following just before the </head>
tag.
<script src="https://unpkg.com/@dotdev/dotapparel-voucher-widget"></script>
Local development
Run npm start
to start the dev server.
In layout/checkout.liquid
in a preview theme, add the following just before the </head>
tag.
<script src="http://127.0.0.1:8000/app.js"></script>
1.1.2
1 year ago