Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
claushellsing authored Aug 27, 2024
1 parent 45926ea commit eff0d3f
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 eff0d3f

Please sign in to comment.