https://github.com/unlikelystudio/front
https://github.com/unlikelystudio/front
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/unlikelystudio/front
- Owner: unlikelystudio
- Created: 2022-06-22T09:00:45.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-22T09:00:56.000Z (almost 4 years ago)
- Last Synced: 2025-02-24T07:50:33.816Z (over 1 year ago)
- Language: JavaScript
- Size: 189 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hydrogen Demo Store
Hydrogen is a React framework and SDK that you can use to build fast and dynamic Shopify custom storefronts.
[Check out the docs](https://shopify.dev/custom-storefronts/hydrogen)
[Run this template on StackBlitz](https://stackblitz.com/github/Shopify/hydrogen/tree/stackblitz/templates/demo-store)
## Getting started
**Requirements:**
- Node.js version 16.5.0 or higher
- Yarn
To create a new Hydrogen app, run:
```bash
npm init @shopify/hydrogen
```
## Running the dev server
Then `cd` into the new directory and run:
```bash
npm install
npm run dev
```
Remember to update `hydrogen.config.js` with your shop's domain and Storefront API token!
## Building for production
```bash
npm run 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 `npm run preview`:
```bash
npm run build
npm run preview
```