Hydrogen is a React framework and SDK that you can use to build fast and dynamic Shopify custom storefronts.
Requirements:
- Node.js version 16.5.0 or higher
Then cd
into the new directory and run:
npm install
npm run dev
Remember to update hydrogen.config.js
with your shop's domain and Storefront API token!
npm run build
To run a local preview of your Hydrogen app in an environment similar to Netlify, build your Hydrogen app and then run npm run preview
:
npm run build
npm run preview