mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
Fix for port BUG with breaks all other addons
The suggested port of 9008 breaks / hides addons such as a11y, actions etc. I've found that setting the port back to the default 6006 fixes this. Unfortunately I couldn't find out why this fixes it. Would be good to find out if you guys know. An example of this is at this [repo](https://github.com/chrisj-skinner/storybook-addon-docs-bug) running `npm run storybook:pass` & `npm run storybook:fail` will show the above bug. Although the above example is using `6.0.0-beta.16` this bug extends back to `5.3.14`. Thats as far as I tested it.
This commit is contained in:
parent
0d0276dd10
commit
f3a2af7f4f
@ -54,7 +54,7 @@ Then you'll need to configure Compodoc to generate a `documentation.json` file.
|
||||
...
|
||||
"scripts": {
|
||||
"docs:json": "compodoc -p ./tsconfig.json -e json -d .",
|
||||
"storybook": "npm run docs:json && start-storybook -p 9008 -s src/assets",
|
||||
"storybook": "npm run docs:json && start-storybook -p 6006 -s src/assets",
|
||||
...
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user