BON Loyalty Headless Store Widget Component
Getting started
Install BON Loyalty app on your Shopify Store and enable Widget on your Storefront and make sure Widget loaded correctly on Storefront!
Import BON Loyalty Widget to use on your headless store
import BonLoyaltyWidget from '~/components/BonLoyaltyWidget';
On the app return template
<BonLoyaltyWidget />
see app/root.jsx for example of usage, line 19 and 127
Hydrogen template: Skeleton
Hydrogen is Shopify’s stack for headless commerce. Hydrogen is designed to dovetail with Remix, Shopify’s full stack web framework. This template contains a minimal setup of components, queries and tooling to get started with Hydrogen.
Check out Hydrogen docs Get familiar with Remix
What's included
- Remix
- Hydrogen
- Oxygen
- Shopify CLI
- ESLint
- Prettier
- GraphQL generator
- TypeScript and JavaScript flavors
- Minimal setup of components and routes
Getting started
Requirements:
- Node.js version 16.14.0 or higher
npm create @shopify/hydrogen@latest
Building for production
npm run build
Local development
npm run dev