Create a Storybook Sandbox (Starter project)

Michael Chan
InstructorMichael Chan
Share this video with your friends

Social Share Links

Send Tweet
Published 4 months ago
Updated 3 months ago

NOTE: There is a bug in the sandbox command that may result in Storybook@8 (beta) to be installed.

To bypass this issue, use this command instead: npx storybook@latest sandbox --branch=main

This version of the command uses the main branch, which is currently the latest v7. My hope is that the versioned sandbox command is fixed by the time v8 goes out. Once resolved, the command in the video is preferred.

Launch into Storybook with a one-command setup using npx storybook sandbox. Instantly create a Storybook environment tailored to your preferred framework and language, perfect for immersive learning and exploration.

~ 3 months ago

The template for storybook@7 sandbox is storybook 8.0.0-alpha.9 Same thing if I specify 7.6.7

Michael Chan
Michael Chaninstructor
~ 3 months ago

So sorry for this. I just confirmed with the storybook team that using versions on the sandbox is not currently functional.

Until v8 is merged to main, you can use this alternative:

npx storybook@latest sandbox --branch=main

This version of the command uses the main branch, which is currently the latest v7. My hope is that the versioned sandbox command is fixed by the time v8 goes out.

~ 3 months ago

Awesome, thanks :-)

Markdown supported.
Become a member to join the discussionEnroll Today