-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
update readme for clarity #9731
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dvnrsn!!! Please see my clarification below 😄
yarn add -D babel-plugin-react-docgen | ||
``` | ||
|
||
and add `react-docgen` to babelrc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only if you have a custom babelrc? I believe Storybook's default already includes this, but please let me know if this lines up with what you've seen.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is beyond my understanding. When I remove my .babelrc
, I get syntax errors around my JSX in storybook. I would have assumed without my babelrc storybook would have used a custom config, but would that custom config automatically have preset-react
? How can I find that custom config?
I simply followed the config here which I thought will always be necessary with addon-docs?
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
@shilman what do you want to do with this? |
This information is no longer correct as of 6.0.0 I think. @shilman please re-open if you think this PR should still move forwards. |
Issue: As documented in this issue the docs fail to mention prereq docgen for addon-docs
What I did
Include language in README to guide developer in the right direction
How to test
If your answer is yes to any of these, please make sure to include it in your PR.