Skip to content

Commit

Permalink
Missing step in storybook migration
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Mar 24, 2024
1 parent 6a11d84 commit 565d062
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/upgrade-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,14 @@ Replace the `.storybook` folder in your project with this one:

https://github.com/plone/volto/tree/5605131868689778bbdca0c3003a40cb9f153c1a/packages/generator-volto/generators/app/templates/.storybook

Then update your project's or add-on `scripts` key like:

```diff
- "storybook": "start-storybook -p 6006",
- "build-storybook": "build-storybook"
+ "storybook": "storybook dev -p 6006",
+ "build-storybook": "storybook build"
```

```{seealso}
[Migration guide from Storybook 6.x to 8.0](https://storybook.js.org/docs/migration-guide/from-older-version)
Expand Down

0 comments on commit 565d062

Please sign in to comment.