---
canonical_url: "https://shopify.nuxtjs.org"
---
<product-marquee>



</product-marquee>

<u-page-hero>
<template v-slot:title="">
<span className="text-primary">

Nuxt

</span>

 Shopify

</template>

<template v-slot:description="">

Plug & play Shopify integration for Nuxt

</template>

<template v-slot:links="">
<u-button size="xl" to="https://shopify.nuxtjs.org/getting-started/introduction" trailing-icon="i-lucide-arrow-right">

Get started

</u-button>

<u-button size="xl" to="https://nuxt-shopify.vercel.app" color="neutral" icon="i-lucide-shopping-bag" target="_blank" variant="subtle">

View Demo Store

</u-button>
</template>
</u-page-hero>

<component-hero title="Minimal API for your Storefront">
<template v-slot:component="">
<product-image className="w-full,aspect-square" handle="hoodie" sizes="xs:545px sm:545px md:545px lg:392px xl:392px">



</product-image>
</template>

<template v-slot:component-title="">

ProductImage.vue

</template>

<code-tree default-value="app/components/ProductImage.vue">

```vue [app/components/ProductImage.vue]
<script setup lang="ts">
const props = defineProps<{
  handle: string
}>()

const { data } = await useStorefrontData(`#graphql
  query GetProduct($handle: String!) {
    product(handle: $handle) {
      featuredImage {
        url
      }
    }
  }
`, {
  variables: props,
})
</script>

<template>
  <img :src="data?.product?.featuredImage?.url" />
</template>
```

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  modules: ['@nuxtjs/shopify'],

  shopify: {
    name: 'store-name',

    clients: {
      storefront: {
        publicAccessToken: 'public-access-token',
        apiVersion: '2026-10',
      },
    },
  },
})
```

```json [package.json]
{
  "name": "nuxt-shopify-store",
  "private": true,
  "type": "module",
  "scripts": {
    "dev": "nuxt dev",
    "build": "nuxt build",
    "generate": "nuxt generate",
    "preview": "nuxt preview"
  },
  "dependencies": {
    "@nuxtjs/shopify": "latest",
    "@shopify/hydrogen": "^2026.10.3",
    "nuxt": "latest"
  }
}
```

</code-tree>
</component-hero>

<component-hero title="Customer Account API without the hassle">
<template v-slot:component="">
<customer-account>



</customer-account>
</template>

<template v-slot:component-title="">

CustomerAccount.vue

</template>

<code-tree default-value="app/components/account/CustomerAccount.vue">

```vue [app/components/account/CustomerAccount.vue]
<script setup lang="ts">
const { isLoggedIn, logout } = useCustomerAccountSession()

const { data } = await useCustomerAccountData(`#graphql
  query GetCustomer {
    customer {
      firstName
      lastName
    }
  }
`)
</script>

<template>
  <div v-if="data">
    <h1>
      Welcome, {{ data.customer.firstName }} {{ data.customer.lastName }}!
    </h1>

    <NuxtLink to="/account/orders">
      View Orders
    </NuxtLink>

    <NuxtLink to="/account/settings/address">
      Edit Address
    </NuxtLink>

    <button
      type="button"
      @click="logout()"
    >
      Log out
    </button>
  </div>
</template>
```

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  modules: [
    '@nuxtjs/shopify',
  ],

  shopify: {
    name: 'store-name',

    i18n: {
      defaultLocale: {
        country: 'US',
        language: 'EN',
      },
    },

    clients: {
      customerAccount: {
        apiVersion: '2026-10',
        clientId: 'your-client-id',
      },
    },
  },
})
```

```json [package.json]
{
  "name": "nuxt-shopify-store",
  "private": true,
  "type": "module",
  "scripts": {
    "dev": "nuxt dev",
    "build": "nuxt build",
    "generate": "nuxt generate",
    "preview": "nuxt preview"
  },
  "dependencies": {
    "@nuxtjs/shopify": "latest",
    "@shopify/hydrogen": "^2026.10.3",
    "nuxt": "latest"
  }
}
```

</code-tree>

Customers can only log in on an HTTPS domain other than `localhost`, see [local development](https://shopify.nuxtjs.org/essentials/customer-account#local-development).

</component-hero>

<component-hero title="Easy integration with the Admin API">
<template v-slot:component="">
<markets>



</markets>
</template>

<template v-slot:component-title="">

Markets.vue

</template>

<code-tree default-value="server/api/admin/markets.ts">

```vue [app/components/Markets.vue]
<script setup lang="ts">
const { data } = await useFetch('/api/admin/markets')
</script>

<template>
  <div class="flex flex-col gap-4">
    <article v-for="market in data" :key="market.name">
      {{ market.name }}
    </article>
  </div>
</template>
```

```ts [server/api/admin/markets.ts]
export default defineEventHandler(async (event) => {
  const admin = useAdmin(event)

  const { data } = await admin.request(`#graphql
    query GetMarkets {
      markets(first: 4) {
        nodes {
          ...MarketFields
        }
      }
    }
  `)

  return flattenConnection(data?.markets)
})
```

```ts [graphql/admin/market.ts]
export const MARKET_FRAGMENT = `#graphql
  fragment MarketFields on Market {
    name
    webPresences(first: 10) {
      nodes {
        rootUrls {
          locale
          url
        }
      }
    }
  }
`
```

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  modules: ['@nuxtjs/shopify'],

  shopify: {
    name: 'store-name',

    clients: {
      admin: {
        apiVersion: '2026-10',
        clientId: 'your-app-client-id',
        clientSecret: 'your-app-client-secret',
      },
    },
  },
})
```

```json [package.json]
{
  "name": "nuxt-shopify-store",
  "private": true,
  "type": "module",
  "scripts": {
    "dev": "nuxt dev",
    "build": "nuxt build",
    "generate": "nuxt generate",
    "preview": "nuxt preview"
  },
  "dependencies": {
    "@nuxtjs/shopify": "latest",
    "@shopify/hydrogen": "^2026.10.3",
    "nuxt": "latest"
  }
}
```

</code-tree>
</component-hero>

<u-page-section>
<template v-slot:title="">

Build your Shopify store with Nuxt

</template>

<template v-slot:features="">
<u-page-feature icon="i-simple-icons-nuxt" to="https://nuxt.com" target="_blank">
<template v-slot:title="">

Module for <span className="text-primary">

Nuxt

</span>
</template>

<template v-slot:description="">

Optimized for the most famous Vue framework. Nuxt Shopify gives you everything you need to build fast, performant, and SEO-friendly shops.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-store" to="https://shopify.nuxtjs.org/essentials/storefront">
<template v-slot:title="">

Full <span className="text-primary">

Storefront API

</span>

 Support

</template>

<template v-slot:description="">

Access products, collections, customers, and more with the Shopify Storefront API. Perfect for building custom shopping experiences.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-user" to="https://shopify.nuxtjs.org/essentials/customer-account">
<template v-slot:title="">

Easy <span className="text-primary">

Customer Account API

</span>

 Integration

</template>

<template v-slot:description="">

Built-in authentication flow and access management for the Shopify Customer Account API. Zero-boilerplate customer data and sessions.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-shield" to="https://shopify.nuxtjs.org/essentials/admin">
<template v-slot:title="">

Secure <span className="text-primary">

Admin API

</span>

 Access

</template>

<template v-slot:description="">

Manage orders, inventory, and other store data securely with the Shopify Admin API. Ideal for building custom admin dashboards and tools.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-wand-sparkles" to="https://shopify.nuxtjs.org/going-further/codegen">
<template v-slot:title="">

Zero-config <span className="text-primary">

Code Generation

</span>
</template>

<template v-slot:description="">

Generates and hot-reloads TypeScript types from your GraphQL operations, for reliable typing and autocompletion. No setup required.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-bug" to="https://shopify.nuxtjs.org/essentials/error-handling">
<template v-slot:title="">

Robust <span className="text-primary">

Error Handling

</span>
</template>

<template v-slot:description="">

Use built-in error handling utilities to manage and respond to API errors gracefully. Third-party logging-compatible.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-puzzle" to="https://shopify.nuxtjs.org/getting-started/usage#fragments">
<template v-slot:title="">

Fragment <span className="text-primary">

Injection and Deduplication

</span>
</template>

<template v-slot:description="">

Define reusable GraphQL fragments and have them automatically injected into your queries, no explicit imports needed.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-between-horizontal-start" to="https://shopify.nuxtjs.org/going-further/hooks">
<template v-slot:title="">

Extendable <span className="text-primary">

Lifecycle Hooks

</span>
</template>

<template v-slot:description="">

Customize and extend the module's behavior with lifecycle hooks. Add custom logic at various stages of API interaction.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-chart-line" to="https://shopify.nuxtjs.org/essentials/analytics">
<template v-slot:title="">

Built-in <span className="text-primary">

Shopify Analytics

</span>
</template>

<template v-slot:description="">

Send headless analytics to Shopify with drop-in view components and a typed event bus. Consent-aware out of the box via the Customer Privacy API.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-rabbit" to="https://shopify.nuxtjs.org/essentials/caching">
<template v-slot:title="">

Customizable <span className="text-primary">

Request Caching

</span>
</template>

<template v-slot:description="">

Cache API responses on the client and during server-side rendering with configurable cache presets. One request option, both layers covered.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-fishing-hook" to="https://shopify.nuxtjs.org/going-further/webhooks">
<template v-slot:title="">

Easy <span className="text-primary">

Webhook Subscriptions

</span>
</template>

<template v-slot:description="">

Subscribe to Shopify webhooks from your config and receive them with automatic HMAC validation. Includes a CLI to manage subscriptions.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-app-window" to="https://shopify.nuxtjs.org/going-further/explorer">
<template v-slot:title="">

Integrated <span className="text-primary">

GraphQL Explorer

</span>
</template>

<template v-slot:description="">

Explore your store's APIs with a built-in GraphQL explorer for every configured client. Available instantly in development mode.

</template>
</u-page-feature>
</template>
</u-page-section>

## Resources for Agents

- [API catalog: every service document this site publishes](https://shopify.nuxtjs.org/.well-known/api-catalog)
- [Sitemap (XML)](https://shopify.nuxtjs.org/sitemap.xml)
- [Sitemap (Markdown): every page on the site](https://shopify.nuxtjs.org/sitemap.md)
- [MCP server card: MCP endpoint at https://shopify.nuxtjs.org/mcp](https://shopify.nuxtjs.org/.well-known/mcp/server-card.json)
- [MCP endpoint (streamable HTTP)](https://shopify.nuxtjs.org/mcp)
- [llms.txt: index of the documentation for LLMs](https://shopify.nuxtjs.org/llms.txt)
- [llms-full.txt: the full documentation as a single file](https://shopify.nuxtjs.org/llms-full.txt)
- [OpenAPI document: every route this site serves to agents](https://shopify.nuxtjs.org/openapi.json)


## Sitemap

See the full [sitemap](https://shopify.nuxtjs.org/sitemap.md) for all pages.
