edenspiekermann / faster-react-tabs

MIT License
47 stars 6 forks source link

example-content should not be packaged #10

Closed KittyGiraudel closed 3 years ago

KittyGiraudel commented 8 years ago

Ping @eschaefer for opinion.

eschaefer commented 8 years ago

This was a discussion we had at dev couch a long time ago, more generally about how do we package react components to be cleanly installable from npm but also have a working example available? A lot of components listed on http://react-components.com for example unfortunately do have styles packaged with them. A git branch could be an option here... like have the example-content in an example branch, and make a note of this in the description field of package.json.

oyeanuj commented 8 years ago

Another option could be to have the source code available from the github-pages, in that branch. That way, someone could see the example with the source code in tandem and use the github-pages branch.