Skip to content

A basic Hydrogen storefront based off of the 'Hello World' starting point provided by Shopify

Notifications You must be signed in to change notification settings

chriscolstonwork/hydrogen-class-storefront

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Example

Hydrogen is a React framework and SDK that you can use to build fast and dynamic Shopify custom storefronts.

Check out the docs

Run this template in JavaScript on StackBlitz

Run this template in TypeScript on StackBlitz

Getting started

Requirements:

  • Node.js version 16.14.0 or higher
  • Yarn
npm init @shopify/hydrogen@latest --template hello-world-ts

Remember to update hydrogen.config.js with your shop's domain and Storefront API token!

Building for production

yarn build

Previewing a production build

To run a local preview of your Hydrogen app in an environment similar to Oxygen, build your Hydrogen app and then run yarn preview:

yarn build
yarn preview

About

A basic Hydrogen storefront based off of the 'Hello World' starting point provided by Shopify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 81.2%
  • JavaScript 13.5%
  • HTML 5.3%