-
Notifications
You must be signed in to change notification settings - Fork 22
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
Integrate component demos #7
Comments
|
If we can set a standard where each Git repo should have a We could then run the demos in a sandboxed iframe, perhaps? A bit like JSBin etc. |
I'd suggest using webpack with predefined config (jsx, css, fonts, images should be enough). You can see the simplest example of React component, React Font Awesome which depends on styles and static assets. Specifically see So each component should have |
That would be awesome. Adding code edition like this https://gcanti.github.io/resources/tcomb-react-bootstrap/playground/playground.html or props editor would be quite nice as well. |
More practical perhaps would be to pull in the demo inside an iFrame. I don't won't to rewrite all my demos to work with whatever standard. The |
Why not use just Codepen? http://codepen.io |
+1 @andreypopp -- standardizing on a webpack config would be awesome |
Agree, it would be awesome to have demos. webpack some config standard will be a good start. |
A really awesome feature, which has been suggested by multiple people on IRC, is to have demos of each component available through the site.
This will require a certain amount of standardization and security considerations, obviously.
The text was updated successfully, but these errors were encountered: