diff --git a/docs/pages/repo/docs/handbook/tools/storybook.mdx b/docs/pages/repo/docs/handbook/tools/storybook.mdx index 3b5b9a7837521..91c80894235cf 100644 --- a/docs/pages/repo/docs/handbook/tools/storybook.mdx +++ b/docs/pages/repo/docs/handbook/tools/storybook.mdx @@ -156,7 +156,7 @@ And `yarn install` to make sure that your `ui` package is installed in the `work // ... { "dependencies": { - "ui": "workspace:*", + "@repo/ui": "workspace:*", // ... } } @@ -169,7 +169,7 @@ And `pnpm install` one more time to make sure that your `ui` package is installe 3. Replace the `Button` import in the `Button.stories.tsx` so that it comes from your `ui` package: ```jsx filename="apps/workshop/src/stories/Button.stories.tsx" -import { Button } from 'ui' +import { Button } from '@repo/ui/button' ``` Note: In the end after going through Storybook's onboarding, you can [uninstall the onboarding addon](https://github.com/storybookjs/addon-onboarding/blob/main/README.md)