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

Storybook not working with ejected app #53

Open
mortigen opened this issue Feb 3, 2020 · 0 comments
Open

Storybook not working with ejected app #53

mortigen opened this issue Feb 3, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@mortigen
Copy link
Contributor

mortigen commented Feb 3, 2020

After ejecting app, storybook is unable to load react-scripts so it uses default config causing errors. So react-scripts has to be added manually.
We should write a custom script for ejecting app which will include these steps:

  • rename scripts folder (ejecting will work if scripts folder doesn't already exist)
  • commit (ejecting will work if there are no active changes)
  • eject
  • add react-scripts package to the project
@mikeqcp mikeqcp added the bug Something isn't working label Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants