Skip to content
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

docs(storybook): update documentation to the latest versions available for pnpm installation #7953

Merged
4 changes: 2 additions & 2 deletions docs/pages/repo/docs/handbook/tools/storybook.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:*",
// ...
}
}
Expand All @@ -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)
Expand Down
Loading