Skip to content

vercel/shop

Repository files navigation

Vercel Shop

A Next.js storefront template and reference architecture for Shopify, built with Next.js 16, React 19, Tailwind CSS 4, and the Shopify Storefront API.

See docs.vercel.shop for full documentation.

Deploy with Vercel

Getting Started

  1. Scaffold a new project using the CLI:
npx create-vercel-shop@latest my-store

The scaffold also installs these project-scoped agent plugins:

  • vercel-shop
  • vercel-plugin
  • shopify-ai-toolkit

To install only the agent plugins into an existing project, run this from that project's root:

npx create-vercel-shop@latest --no-template
  1. In Shopify admin, create a storefront token in Settings → Apps and sales channels → Headless, enable the required Storefront API permissions, then add your Shopify credentials:
cp .env.example .env.local
SHOPIFY_STORE_DOMAIN=your-store.myshopify.com
SHOPIFY_STOREFRONT_ACCESS_TOKEN=your-token
NEXT_PUBLIC_SITE_NAME="Your Store Name"
  1. Start the development server with the same package manager you used to scaffold the project:
pnpm dev
npm run dev
yarn dev
bun dev

See docs.vercel.shop/docs/getting-started for the full setup guide and Storefront API Permissions for the complete scope reference.

Features

  • Next.js 16 App Router with React 19 and React Compiler
  • Shopify Storefront API via GraphQL with type-safe operations
  • Tailwind CSS 4 and shadcn/ui components
  • Internationalization-ready with next-intl
  • AI-ready with Vercel AI SDK integration
  • Optimized cart with server actions and instant cache invalidation
  • SEO with structured data and dynamic metadata

Skills

Vercel Shop includes a vercel-shop plugin with skills for extending the storefront with common commerce patterns. In Claude Code, these are exposed as /vercel-shop:<skill> commands:

Skill Description
enable-shopify-menus Replace hardcoded nav/footer with Shopify menus, optional megamenu
enable-shopify-cms Use Shopify metaobjects as a CMS
enable-content-negotiation Serve product pages as markdown to LLM agents
add-locale-url-prefix Locale-prefixed URL routing
enable-shopify-auth Customer authentication with Shopify OIDC
enable-shopify-markets Multi-locale support with Shopify Markets

Project Structure

This is a monorepo managed with Turborepo and pnpm.

App Description
apps/template The Next.js storefront template
apps/docs Documentation site at docs.vercel.shop
apps/cli create-vercel-shop scaffolding CLI

Documentation

Full documentation is available at docs.vercel.shop.

License

MIT

About

vercel/shop

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors