这是indexloc提供的服务,不要输入任何密码
Skip to content

docs: update storybook initiation instructions #10145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

sicarius97
Copy link
Contributor

Description

Follow latest Storybook instructions and conventions for setup. Using yarn or pnpm dlx otherwise will only install versions of storybook older than 8.3. Very simple change that uses the create command instead

Testing Instructions

For testing, you could try the two different initiation options:
pnpx dlx storybook@latest init

Then verify your installed version, which will show a version older than 8.3. Delete the directory and create a new storybook directory, then run:

pnpm create storybook@latest

Afterwards, the version should show the latest version, either 8.3 or older.

Also just a note, I think it is on storybooks side, but the most recent version of nextjs that they use in their examples is 8.

Follow latest Storybook instructions and conventions for setup. Using yarn or pnpm dlx otherwise will only install versions of storybook older than 8.3
@sicarius97 sicarius97 requested review from anthonyshew and a team as code owners March 11, 2025 16:27
@turbo-orchestrator turbo-orchestrator bot added area: docs Improvements or additions to documentation needs: triage New issues get this label. Remove it after triage labels Mar 11, 2025
Copy link

vercel bot commented Mar 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 6:16pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 6:16pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 6:16pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 6:16pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 6:16pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 6:16pm
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 6:16pm

Copy link

vercel bot commented Mar 11, 2025

@sicarius97 is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@anthonyshew anthonyshew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@anthonyshew anthonyshew changed the title chore(docs): Update storybook initiation instructions chore(docs): update storybook initiation instructions Mar 11, 2025
@anthonyshew anthonyshew changed the title chore(docs): update storybook initiation instructions docs: update storybook initiation instructions Mar 11, 2025
@anthonyshew anthonyshew merged commit 3ee2336 into vercel:main Mar 11, 2025
33 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Improvements or additions to documentation needs: triage New issues get this label. Remove it after triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants