-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Reuse react-styleguidist as a React component, not a separate app? #107
Comments
I’m not sure it’s possible because we have a lot of stuff in Webpack loaders. It might work with a lot of copy-pasting from Styleguidist to your app so you can use components from Styleguidist but I’m not sure it’s worth it. |
Maybe better solution is just to publish it as a static page and have a link in your app. And use Styleguidist server to develop new components. |
@sompylasar I think you could actually try this way: try to modify the webpack config (that one for static website, produced from |
OK, then, I think, I will have to run For future, it would be very useful for styleguidist to have a JS API that takes a config object and starts the server, not just the CLI with the file-based config. |
Yeah, and I’ll be happy to merge such pull request ;-) |
Like this:
https://github.com/skidding/react-component-playground
Is this possible?
I'd like to plug it into my app on a separate route.
The text was updated successfully, but these errors were encountered: