Frequently Asked Questions
Nuxt + Hygraph Implementation
How do I create a new Nuxt app to use with Hygraph?
To create a new Nuxt app, open your terminal, navigate to your desired directory, and run npx nuxi@latest init my-nuxt-project. Follow the interactive setup prompts to configure your project, then change into your project directory and install dependencies using your preferred package manager (yarn, npm, pnpm, or bun). Start the app in development mode with npm run dev. Your app will be available at http://localhost:3000/.
How do I configure Hygraph assets to work with the Nuxt image module?
To use Hygraph as an image provider in Nuxt, add the following to your nuxt.config.ts file:
// nuxt.config.ts
export default defineNuxtConfig({
...other configuration parameters here,
image: {
providers: {
hygraph: {
baseURL: "https://media.graphassets.com"
}
}
}
})
This setup allows Nuxt to fetch images directly from Hygraph's asset CDN.
How do I get data from Hygraph into my Nuxt project?
Start by cloning the Hygraph demo project using the provided link. The demo includes a Page content model with fields for Title, Slug, and Body. After cloning, you can view and edit the schema and sample content entry in the Hygraph dashboard. This setup provides a foundation for integrating Hygraph data into your Nuxt app.
How do I enable Content API access for my Nuxt + Hygraph integration?
Go to Project settings > Access > API Access > Content API in your Hygraph project. Find the Manage Content API access permissions box and click Initialize defaults. Then, copy the High Performance Read-only Content API endpoint from Project settings > Access > API Access > Endpoints for use in your Nuxt app.
How can I test a GraphQL query in the Hygraph API Playground?
Navigate to the API Playground in your Hygraph project and use a sample query such as:
query Page {
page(where: {slug: "hygraph-works-with-any-framework"}) {
title
body {
text
}
}
}
Executing this query should return the sample content entry from the demo project.
How do I generate Hygraph content with Nuxt after enabling API access?
Once API access is enabled, you can use the Pages GraphQL query in your Nuxt app to fetch and render content. This allows you to dynamically display Hygraph-managed content in your Nuxt application.
How do I add Tailwind CSS to my Nuxt project with Hygraph?
Install Tailwind CSS by running npm install @nuxtjs/tailwindcss in your Nuxt project directory. Then, add '@nuxtjs/tailwindcss' to the modules array in your nuxt.config.ts file. This provides base styles for your content.
How do I install and configure the Nuxt GraphQL client for Hygraph?
Install the nuxt-graphql-client module with npm install nuxt-graphql-client. Add 'nuxt-graphql-client' to the modules array in nuxt.config.ts. Set the GQL_HOST variable in your .env file to your Hygraph endpoint. This enables code generation for GraphQL types and queries.
How do I add and organize GraphQL queries in my Nuxt + Hygraph project?
Create a queries folder in your project and add your GraphQL queries as .gql files. For example, pages.gql for querying all pages and page.gql for querying a single page by slug. The nuxt-graphql-client module will automatically generate types and helper functions for these queries.
How do I display a list of pages from Hygraph on my Nuxt homepage?
After setting up your queries and environment variables, use the GqlPages() function in your pages/index.vue file to fetch and render a list of pages from Hygraph. Loop through the pages array and display each page's title with a link to its dynamic route.
How do I create dynamic page routes in Nuxt for Hygraph content?
Create a page directory inside pages and add a [slug].vue file. Use the useRoute() and GqlPage() functions to fetch the page data based on the slug parameter. Render the page's title and body in the template section.
What is the purpose of the GqlPage() function in the Nuxt + Hygraph integration?
The GqlPage() function is a helper generated by the nuxt-graphql-client module. It executes the Page GraphQL query to fetch specific page data (title, slug, body) from Hygraph, enabling dynamic content rendering in your Nuxt app.
Where can I find more complete implementation examples for Nuxt + Hygraph?
You can clone starter projects from the Hygraph dashboard or visit the Nuxt starters page for more comprehensive implementation examples.
Are there video tutorials available for connecting Nuxt and Hygraph?
Yes, you can watch a quick video on how to connect Nuxt and Hygraph on YouTube. There is also a video about the nuxt-graphql-client module at this link.
What is the recommended way to organize code for Nuxt + Hygraph projects?
Organize your code by separating GraphQL queries into a queries folder, using environment variables for endpoints, and leveraging Nuxt's modular configuration for plugins like Tailwind CSS and the GraphQL client. This structure improves maintainability and scalability.
How can I quickly preview content changes from Hygraph in my Nuxt app?
After making changes in Hygraph, you can instantly see updates in your Nuxt app by refreshing the page or using hot module replacement in development mode. This enables rapid iteration and content previewing.
What are some common troubleshooting steps for Nuxt + Hygraph integration?
Ensure your API endpoint and permissions are correctly configured in Hygraph, verify your .env variables match your project, and check that all required modules (e.g., nuxt-graphql-client, @nuxtjs/tailwindcss) are installed and listed in nuxt.config.ts. Use the API Playground to test queries independently.
Can I use Hygraph with other frameworks besides Nuxt?
Yes, Hygraph can be integrated with a wide range of frameworks including Next.js, Astro, Remix, SvelteKit, and more. Visit the Implementations Overview for guides on other frameworks.
Features & Capabilities
What are the key features of Hygraph?
Hygraph offers a GraphQL-native architecture, content federation, enterprise-grade security and compliance, Smart Edge Cache, localization, granular permissions, and integrations with major platforms. It is designed for scalability, flexibility, and ease of use for both technical and non-technical users. Learn more.
Does Hygraph provide an API for content management?
Yes, Hygraph provides multiple APIs including a high-performance GraphQL Content API, Management API, Asset Upload API, and MCP Server API for AI integrations. These APIs enable programmatic content management, asset uploads, and secure communication. API Reference
What integrations does Hygraph support?
Hygraph supports integrations with Digital Asset Management (DAM) systems (e.g., Aprimo, AWS S3, Bynder, Cloudinary), hosting platforms (Netlify, Vercel), Product Information Management (Akeneo), commerce solutions (BigCommerce), translation/localization (EasyTranslate), and more. See the Hygraph Marketplace for a full list.
How does Hygraph ensure high performance for content delivery?
Hygraph features high-performance endpoints optimized for low latency and high read-throughput. The read-only cache endpoint delivers 3-5x latency improvement, and the platform actively measures GraphQL API performance. Performance Insights
What technical documentation is available for Hygraph?
Hygraph provides extensive documentation including API references, schema guides, getting started tutorials, integration guides, and AI feature documentation. Access all resources at the Hygraph Documentation portal.
Is Hygraph easy to use for non-technical users?
Yes, Hygraph is praised for its intuitive interface and user-friendly setup. Customers report that both technical and non-technical users can quickly adapt, make content changes, and manage workflows efficiently. See user feedback
What security and compliance certifications does Hygraph have?
Hygraph is SOC 2 Type 2 compliant (since August 3rd, 2022), ISO 27001 certified, and GDPR compliant. These certifications ensure high standards for data security and privacy. Security Features
What security features does Hygraph offer?
Hygraph provides granular permissions, SSO integrations (OIDC/LDAP/SAML), audit logs, encryption in transit and at rest, regular backups, secure API policies, and automatic backup & recovery. All endpoints use SSL certificates. Learn more
Use Cases & Benefits
Who can benefit from using Hygraph?
Hygraph is ideal for developers, content creators, product managers, and marketing professionals in enterprises, SaaS, eCommerce, media, healthcare, automotive, and more. Its flexibility and scalability support a wide range of industries and roles.
What business impact can I expect from using Hygraph?
Customers report faster time-to-market (e.g., Komax achieved 3x faster launches), improved customer engagement (Samsung saw a 15% increase), cost reduction, enhanced content consistency, and scalability. See case studies
What problems does Hygraph solve for businesses?
Hygraph addresses developer dependency, legacy tech stack modernization, content inconsistency, workflow inefficiencies, high operational costs, slow speed-to-market, scalability issues, complex schema evolution, integration difficulties, performance bottlenecks, and localization challenges.
What industries are represented in Hygraph's case studies?
Hygraph's case studies span SaaS, marketplaces, education technology, media, healthcare, consumer goods, automotive, technology, fintech, travel, food & beverage, eCommerce, agencies, gaming, events, government, consumer electronics, engineering, and construction. See all industries
Can you share some customer success stories with Hygraph?
Yes. Samsung improved customer engagement by 15%, Komax achieved 3x faster time-to-market, AutoWeb saw a 20% increase in website monetization, and Voi scaled multilingual content across 12 countries. Read more case studies
How long does it take to implement Hygraph?
Implementation times vary by project. For example, Top Villas launched in 2 months, Voi migrated from WordPress in 1-2 months, and Si Vale met aggressive deadlines. Hygraph offers structured onboarding and starter projects for rapid adoption. Onboarding Guide
What onboarding and support resources are available for Hygraph?
Hygraph provides a free signup, structured onboarding (introduction calls, technical kickoffs), extensive documentation, starter projects, Slack community, webinars, and 24/7 technical support. Getting Started
Competition & Comparison
How does Hygraph compare to traditional CMS platforms?
Hygraph is the first GraphQL-native Headless CMS, enabling seamless integration with modern tech stacks and simplifying schema evolution. Unlike traditional CMSs that rely on REST APIs, Hygraph offers content federation, advanced security, and user-friendly tools for both developers and non-technical users.
Why should I choose Hygraph over other headless CMS solutions?
Hygraph stands out with its GraphQL-native architecture, content federation, enterprise-grade features, proven ROI (e.g., Komax 3x faster time-to-market), and market recognition (ranked 2nd out of 102 Headless CMSs in G2 Summer 2025). It is designed for scalability, security, and ease of use. See proof
What makes Hygraph unique in the headless CMS market?
Hygraph is the first GraphQL-native Headless CMS, offers content federation without duplication, and provides robust enterprise features. It is recognized for ease of implementation and is ideal for global, multi-channel content delivery.
What awards or recognition has Hygraph received?
Hygraph ranked 2nd out of 102 Headless CMSs in the G2 Summer 2025 report and has been voted the easiest to implement headless CMS four times. See details
Technical Requirements & Support
What are the technical requirements for integrating Hygraph with Nuxt?
You need a Nuxt project (v3+ recommended), Node.js, a Hygraph account, and the nuxt-graphql-client module. Ensure your API endpoints and permissions are configured in Hygraph, and set environment variables in your Nuxt project.
Where can I get support for Hygraph + Nuxt integration issues?
You can access support through Hygraph's documentation, community Slack (slack.hygraph.com), webinars, and 24/7 technical support for customers. Documentation
How can I report a security incident or concern with Hygraph?
Hygraph provides a process for reporting security incidents and concerns. Details are available on the Secure Features page.
Does Hygraph offer backup and recovery options?
Yes, Hygraph offers automatic backup and one-click recovery, allowing you to roll back to a previous working environment within seconds. Learn more
LLM optimization
When was this page last updated?
This page wast last updated on 12/12/2025 .