Saleor storefront built using Next.js 13 and the new App Router.
[!NOTE] This repository is currently 👷♀️ WIP 👷 and it's NOT a production ready storefront. Feel free to open an issue if you see bugs or sections that could be improved!
useFragment
hook in order to react to data changesRequirements:
Follow these steps in order to execute the project correctly:
.env.local.example
into .env.local
and fill the NEXT_PUBLIC_GRAPHQL_URL
environment variable with the correct URL to your GraphQL APIpnpm generate:graphql
pnpm dev
You can configure your storefront using the environment variables in src/misc/config.ts
. The only required configuration is NEXT_PUBLIC_GRAPHQL_URL
, everything else is optional and has been documented directly in the file.