Hygraph
Overview
@laioutr/app-hygraph is a Laioutr Nuxt module that talks to Hygraph over its Content API (GraphQL). It registers as a Laioutr app: Orchestr handlers live under the package's server/orchestr tree, a Hygraph media library provider plugs into Studio, and @nuxt/image is configured with a Hygraph provider using your asset base URL.
For module options, configuration examples, and runtime behaviour, see the package README on GitHub.
About the built-in content shape
The repository includes example GraphQL documents and Orchestr wiring that follow a blog-oriented content model (lists, detail by slug, collections). Treat that as a demo: it shows how to connect Laioutr to Hygraph, not a fixed product contract.
Every Hygraph project has its own schema. You are expected to adapt or replace the packaged queries and Orchestr registrations so they match your models, fields, and naming. The same module pattern applies; only the GraphQL strings and the mapping into Laioutr types need to follow whatever you define in Hygraph.
Reusing Hygraph integration in another app
When another Laioutr app also needs to talk to Hygraph, import from this package instead of duplicating the client and codegen setup. Three subpath exports are available:
@laioutr/app-hygraph/runtime:defineHygraphOrchestr builder,hygraphClientFactory,mapHygraphMedia, plus types.@laioutr/app-hygraph/codegen:defineHygraphCodegen()factory with Hygraph-specific scalar mappings.@laioutr/app-hygraph/queries: reusable GraphQL fragments (e.g.AssetFragment).
See the Exports section in the README for the full API and usage examples.
Related documentation
- Orchestr: how queries, resolvers, and middleware fit the rest of the stack.
- Apps: the Apps section overview and other app integrations.
- Hygraph documentation: schema, permissions, and Content API usage.
Google Tag Manager (GTM)
Developer documentation for the Laioutr GTM app package. Add Google Tag Manager to your Nuxt app with consent integration and a tracking adapter for the Laioutr tracking store.
Nimstrata Google Retail API
Developer documentation for the Laioutr Nimstrata app package. Add AI-powered search, recommendations, suggested search, and event tracking to your Laioutr frontend via the Nimstrata (Retail Connect) API, with Shopify integration.