Skip to content

Fix docs Storybook preview deployment#11

Open
Quantumlyy wants to merge 1 commit intomainfrom
Quantumlyy/storybook-preview
Open

Fix docs Storybook preview deployment#11
Quantumlyy wants to merge 1 commit intomainfrom
Quantumlyy/storybook-preview

Conversation

@Quantumlyy
Copy link
Copy Markdown
Member

Summary

This splits docs previews from the bundled /storybook assumption by adding a separate Storybook deploy flow and wiring docs embeds to VITE_STORYBOOK_BASE_URL.
It adds shared Storybook URL helpers, a clearer fallback state plus an "Open in Storybook" link in the docs embed, and a dedicated site Vitest project for the new helper tests.
It also documents the two-project Vercel setup and the local docs workflow in the README.

Verification

  • pnpm test -- --project site
  • pnpm storybook:build:deploy
  • VITE_STORYBOOK_BASE_URL=https://example-storybook.vercel.app pnpm --filter site build

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mbga-site Ready Ready Preview, Comment Apr 8, 2026 1:13pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant