mirror of
https://github.com/vercel/commerce.git
synced 2025-03-15 23:12:32 +00:00
Table of Contents
Shopify Storefront Data Hooks
Collection of hooks and data fetching functions to integrate Shopify in a React application. Designed to work with Next.js Commerce.
Getting Started
- Environment variables need to be set:
NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN=
NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN=
- Point the framework to
shopify
by updatingtsconfig.json
:
"@framework/*": ["framework/shopify/*"],
"@framework": ["framework/shopify"]