9

GitHub - Shopify/hydrogen: React-based framework for building dynamic, Shopify-p...

 3 years ago
source link: https://github.com/Shopify/hydrogen
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

booksDocs | speaking_headDiscord | speech_balloonDiscussions | memoChangelog

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 arrow_down

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 or npm
  • 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:

  1. Start a development server
# Using `yarn`
yarn install
yarn dev

# Using `npm`
npm i --legacy-peer-deps
npm run dev
  1. Visit the development environment running at http://localhost:3000.

Learn more about getting started with Hydrogen.

Contributing to Hydrogen

Read our contributing guide

Other handy links

gift Give us the gift of feedback.

round_pushpin Check out Hydrogen examples on Github.

star_struckLearn more about Hydrogen.

construction_worker_woman Add npm packages to your project:


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK