Hydrogen is a React-based framework for building dynamic, Shopify-powered custom storefronts.
Spin up a Hydrogen app in your browser with our playground or set up your local environment with the instructions below
This is a developer preview of Hydrogen. The documentation will be updated as Shopify introduces new features and refines existing functionality. Production launches of Hydrogen custom storefronts aren't yet supported as Shopify is evolving the Hydrogen framework.
Getting Started
Requirements:
-
yarn
ornpm
- Node.js version 14.0 or higher
Installation:
# Using `yarn`
yarn create hydrogen-app
# Using `npm`
npm init hydrogen-app@latest
# Using `npx`
npx create-hydrogen-app
Running locally:
- Start a development server
# Using `yarn`
yarn install
yarn dev
# Using `npm`
npm i --legacy-peer-deps
npm run dev
- Visit the development environment running at http://localhost:3000.
Learn more about getting started with Hydrogen.
…