Skip to content
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

Clarify warning message #10225

Merged
merged 3 commits into from
Apr 16, 2020
Merged

Clarify warning message #10225

merged 3 commits into from
Apr 16, 2020

Conversation

techieshark
Copy link
Contributor

Fixes #10213 (clarifies docs which are logged to screen for CRA users).

Issue:

What I did

Clarified language so people less familiar with Storybook don't make the same mistake I did (see #10213) 🤣

How to test

This is just update to the documentation so presumably it needs no testing.

Otherwise, to see the effect, CRA users should just ensure that the they have an empty 'addons' field in .storybook/main.js as that should trigger the message to be logged.

@ndelangen ndelangen self-assigned this Apr 15, 2020
@ndelangen ndelangen added cra Prioritize create-react-app compatibility documentation patch:yes Bugfix & documentation PR that need to be picked to main branch presets labels Apr 15, 2020
@ndelangen ndelangen added this to the 6.0 milestone Apr 15, 2020
@ndelangen ndelangen removed the patch:yes Bugfix & documentation PR that need to be picked to main branch label Apr 15, 2020
@ndelangen ndelangen merged commit 1f27b25 into storybookjs:next Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cra Prioritize create-react-app compatibility documentation presets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Confusing warning: "…simply add @storybook/preset-create-react-app to your project."
2 participants