---
title: "Getting started with Sanity × Nuxt UI · Sanity × Nuxt UI"
description: "Connect the template to your Sanity project, import the example content and run Studio and the site side by side."
canonical_url: "https://sanity-nuxtui.vercel.app/blog/getting-started"
meta:
  "og:description": "Connect the template to your Sanity project, import the example content and run Studio and the site side by side."
  "og:image": "https://cdn.sanity.io/images/kdwtvkc2/production/968d3f7c1d70f1f84af4b4ee50ab9eef07803bea-1600x1067.jpg?fit=crop&w=1200&h=630&auto=format"
  "og:image:alt": "Laptop on a desk"
  "og:image:height": "630"
  "og:image:width": "1200"
  "og:title": "Getting started with Sanity × Nuxt UI · Sanity × Nuxt UI"
---

> Index of every page on this site: [llms.txt](https://sanity-nuxtui.vercel.app/llms.txt)

[Blog](https://sanity-nuxtui.vercel.app/blog)·October 10, 2026

# **Getting started with Sanity × Nuxt UI**

Connect the template to your Sanity project, import the example content and run Studio and the site side by side.

**AM**

**Ada Morgan**

Editor

![Laptop on a desk](https://cdn.sanity.io/images/kdwtvkc2/production/968d3f7c1d70f1f84af4b4ee50ab9eef07803bea-1600x1067.jpg?w=2400&h=1600&auto=format)

This template pairs ****Sanity Studio**** for editing with ****Nuxt UI**** for rendering. Editors build pages from blocks; every block is a Nuxt UI component on the site.

## 1. Connect your project

Copy the example env files and fill in your project ID from [**sanity.io/manage**](https://www.sanity.io/manage).

terminal

```
cp apps/studio/.env.example apps/studio/.envcp apps/web/.env.example apps/web/.env
```

## 2. Add example content

The seed script creates pages, three collections (Blog, Gallery, Projects) with entries, and authors, so you can see every block in action.

terminal

```
pnpm installpnpm --filter studio exec sanity loginpnpm seed
```

**Already have content?**

The seed script stops when the dataset already has content. Run "pnpm seed --replace" to delete it first.

## 3. Run it

- `pnpm dev` starts Studio on port 3333 and the site on port 3000.
- Edit a page in Studio, publish it, and refresh the site.
- Open the ****Presentation**** tool to edit with a live preview.

Tags: [guide](https://sanity-nuxtui.vercel.app/blog?tag=guide) [setup](https://sanity-nuxtui.vercel.app/blog?tag=setup)

## **Related posts**

![Laptop and notebook on a desk](https://cdn.sanity.io/images/kdwtvkc2/production/ae96f58c01fdb1cefac7d0aa96b01e36bde32af9-1600x1067.jpg?w=676&h=380&fit=crop&auto=format)

guideOct 12, 2026

## Create a new section without code

Blog, Gallery and Projects are all collections. Editors can add new ones, such as Services or Team, straight from the Studio.

**AM**

**Ada Morgan**

Editor

![Person working on a laptop](https://cdn.sanity.io/images/kdwtvkc2/production/3c5959bf9dc0555105bc0bcb466cd95a1608141a-1600x1067.jpg?w=676&h=380&fit=crop&auto=format)

guideOct 6, 2026

## How to add a new block

Any Nuxt UI component can become a block. It takes a schema, one Vue component and one line in the registry.

**LH**

**Leo Hart**

Frontend Engineer

![Laptop and notebook on a table](https://cdn.sanity.io/images/kdwtvkc2/production/58818fdb1451d82abff05bee983b2b52e136add6-1600x1067.jpg?w=676&h=380&fit=crop&auto=format)

editingOct 2, 2026

## Editing with a live preview

Turn on Visual Editing to click any text on the site and jump straight to the field in Studio.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://sanity-nuxtui.vercel.app/#website","@type":"WebSite","name":"Sanity × Nuxt UI","url":"https://sanity-nuxtui.vercel.app/","publisher":{"@id":"https://sanity-nuxtui.vercel.app/#identity"}},{"@id":"https://sanity-nuxtui.vercel.app/blog/getting-started#webpage","@type":"WebPage","dateModified":"2026-10-16T00:42:53Z","datePublished":"2026-10-10T09:00:00Z","description":"Connect the template to your Sanity project, import the example content and run Studio and the site side by side.","name":"Getting started with Sanity × Nuxt UI","url":"https://sanity-nuxtui.vercel.app/blog/getting-started","isPartOf":{"@id":"https://sanity-nuxtui.vercel.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://sanity-nuxtui.vercel.app/blog/getting-started"]}]},{"@id":"https://sanity-nuxtui.vercel.app/#identity","@type":"Organization","name":"Sanity × Nuxt UI","url":"https://sanity-nuxtui.vercel.app"},{"@id":"https://sanity-nuxtui.vercel.app/blog/getting-started#article","@type":"Article","dateModified":"2026-10-16T00:42:53Z","datePublished":"2026-10-10T09:00:00Z","description":"Connect the template to your Sanity project, import the example content and run Studio and the site side by side.","headline":"Getting started with Sanity × Nuxt UI","inLanguage":"en","thumbnailUrl":"https://cdn.sanity.io/images/kdwtvkc2/production/968d3f7c1d70f1f84af4b4ee50ab9eef07803bea-1600x1067.jpg?w=1200&auto=format","author":{"@id":"https://sanity-nuxtui.vercel.app/#/schema/person/1"},"image":{"@id":"https://sanity-nuxtui.vercel.app/#/schema/image/1"},"isPartOf":{"@id":"https://sanity-nuxtui.vercel.app/blog/getting-started#webpage"},"mainEntityOfPage":{"@id":"https://sanity-nuxtui.vercel.app/blog/getting-started#webpage"},"publisher":{"@id":"https://sanity-nuxtui.vercel.app/#identity"}},{"@id":"https://sanity-nuxtui.vercel.app/#/schema/person/1","@type":"Person","name":"Ada Morgan"},{"@id":"https://sanity-nuxtui.vercel.app/#/schema/image/1","@type":"ImageObject","contentUrl":"https://cdn.sanity.io/images/kdwtvkc2/production/968d3f7c1d70f1f84af4b4ee50ab9eef07803bea-1600x1067.jpg?w=1200&auto=format","inLanguage":"en","url":"https://cdn.sanity.io/images/kdwtvkc2/production/968d3f7c1d70f1f84af4b4ee50ab9eef07803bea-1600x1067.jpg?w=1200&auto=format"}]}
```

## Sitemap

See the full [sitemap](https://sanity-nuxtui.vercel.app/sitemap.md) for all pages.
