Skip to content

fix(storybook): configure base path for /ui subpath deployment#11

Merged
bob-obringer merged 1 commit intomainfrom
bobo/neyn-8505-configure-storybook-base-path-for-ui-subpath-deployment
Jan 13, 2026
Merged

fix(storybook): configure base path for /ui subpath deployment#11
bob-obringer merged 1 commit intomainfrom
bobo/neyn-8505-configure-storybook-base-path-for-ui-subpath-deployment

Conversation

@bob-obringer
Copy link
Copy Markdown
Collaborator

Summary

  • Added viteFinal hook to set config.base = "/ui/" for proper asset loading when Storybook is served from a subpath
  • Removed deprecated docs.autodocs config (Storybook 10 uses tags: ['autodocs'] per-story instead)

Test plan

  • Verify Storybook assets load correctly at /ui/ path
  • Confirm story navigation works properly

Fixes NEYN-8505

🤖 Generated with Claude Code

Storybook is served from /ui but wasn't configured with the correct
base path. Added viteFinal hook to set config.base = "/ui/".

Also removed deprecated docs.autodocs config (Storybook 10 uses
tags: ['autodocs'] per-story instead).

Fixes NEYN-8505

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Jan 13, 2026

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

Project Deployment Review Updated (UTC)
ui Building Building Preview, Comment Jan 13, 2026 7:04pm

@bob-obringer bob-obringer merged commit f9df42e into main Jan 13, 2026
2 of 3 checks passed
@bob-obringer bob-obringer deleted the bobo/neyn-8505-configure-storybook-base-path-for-ui-subpath-deployment branch January 13, 2026 19:04
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