Skip to content

Commit

Permalink
updated readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
ChinmayeeMestry committed Apr 30, 2024
1 parent 256bba5 commit e2b2a6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ This starter showcases a few patterns you can adopt when creating your own custo

This TypeScript demo adopts many of Hydrogen's [framework conventions and third-party libraries][hydrogen-framework]. If you've used Hydrogen then you should hopefully feel at home here.

For all the inventory data, shopify's storefront API are only used. For other marketing data like banner, footer links, etc., Contentstack-sdk is used.

# Fetching Contentstack data

This demo comes preconfigured Contentstack, which adds a Contentstack client to the Remix context. This enables you to fetch content from Contentstack in Remix loaders and actions.

```tsx
// <root>/app/routes/($locale).products.$handle.tsx
import {getEntry} from '~/components/contentstack-sdk';
Expand Down

0 comments on commit e2b2a6c

Please sign in to comment.