Skip to content

Commit

Permalink
Merge branch 'main' of github.com:claushellsing/storybook-dependency-…
Browse files Browse the repository at this point in the history
…tree
  • Loading branch information
claushellsing committed Aug 29, 2024
2 parents 035bdcb + eff0d3f commit aa13ad9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,14 @@ To install the addon, run the following command in your project directory:

```bash
npm i storybook-dependency-tree
```

After installation, add 'storybook-dependency-tree' to the addons property inside your main Storybook configuration file (e.g., main.js):

```javascript
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
...
"storybook-dependency-tree",
],
```

0 comments on commit aa13ad9

Please sign in to comment.