← All notes

#storybook

3 notes

[Not Finished] Setup Storybook with Vitest in a project created by Next.js

Initialize storybook with a command: bash pnpm create storybook@latest After finishing setup & config, install vitest and

#storybook #nextjs #typescript #javascript #test #vitest

Storybook

[Storybook](https://storybook.js.org/) is a sandbox environment used to build, test, and document UI components visually without needing to run the entire main …

#storybook #react #tools

Running Storybook Stories contains Hooks of Next.js

I created a storybook story contains UI components which used useNavigation from Next.js inside. When I run storybook instance, it display error page instead: …

#javascript #storybook #react