# Share a Nuxt Static Site Preview — A Link Before the Deploy

Canonical: https://commareports.com/share-nuxt-static-site
Published: 2026-09-01

> nuxt generate writes a prerendered site to .output/public. Publish it to Comma for a private preview link with anchored comments and a revision per build, no hosting to set up.

# Share a Nuxt static site preview

`nuxt generate` takes about as long as it takes to read this sentence,
and produces a complete prerendered site in `.output/public`. Then the
review stalls on logistics: a bucket, a preview environment, or "run it
locally and I'll screen-share".

## Publish the build

```bash
npx nuxt generate
```

Drag `.output/public/` (or a zip of it) into
[the app](https://commareports.com/):

- `index.html` becomes the report body.
- CSS, JS, fonts and images upload as assets with their references
  rewritten to the uploaded copies — which is what makes the difference
  between a rendered preview and
  [a page with no styles](/html-report-broken-css).
- Scripts run inside a sandboxed iframe, so hydration, the nav menu and
  client-side routing between prerendered pages all work.

Keep `app.baseURL` at its default for a preview build; a base URL points
at a deployment that does not exist yet.

## What is not in a static build

Nitro server routes and any server-side runtime behaviour are not part of
`nuxt generate` output. Client-side fetches to an external API still run
from the reviewer's browser, subject to that API being reachable and
CORS-permissive. For a content and design review — the usual reason for a
preview — neither is a blocker.

## Private by default

Every report is private until you change it: team, email-domain gate,
named reviewers, or a
[password-protected link](/password-protect-html-report) for a client.
See the [sharing model](/docs/sharing). Pre-launch pages should not be
sitting on a URL someone can forward by accident.

## Feedback lands on the page

- **Anchored threads** on the specific heading, image, or price — see
  [commenting on HTML](/comment-on-html).
- **Revisions.** PATCH the same report id and the reviewer sees the new
  build at the URL they already have, with the old one still readable.
- **An agent can read the comments back** through [MCP](/docs/mcp).

## Limits

- **Entry HTML: 5 MB.** Assets: 25 MB per file, **250 MB and 500 files
  total** — a content site with a page per tag plus per-route payloads
  can exceed 500 files. Generate a subset for review when it does.
- **60 requests/minute per token.**

## Try it

Comma is free — unlimited reports, unlimited commenters, unlimited
revision history.

**[Create your first report →](https://commareports.com/)**

### Related

- [Next.js static exports](/share-nextjs-static-export) · [Gatsby builds](/share-gatsby-site)
- [Astro](/share-astro-site) · [VitePress](/share-vitepress-site)
- [Share with a client](/share-html-file-with-client) · [Publish from CI](/docs/ci)
