This is a template for creating a Storefront with SvelteKit and the Shopify Storefront API. The template is constantly being improved and the code refactored
Some of the features:
To develop locally:
npm install
npm run dev
Add the following environment variables:
VITE_SHOPIFY_STOREFRONT_API_TOKEN
: The public access token provided by the Headless app in your Shopify storeVITE_STORE_NAME
: The name of your Shopify store that is before ".myshopify.com" (eg:test-sveltekit-store)Deploy to Vercel or Netlify: