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

Sharing components between projects #618

Closed
bojandragojevic opened this issue Nov 16, 2016 · 2 comments
Closed

Sharing components between projects #618

bojandragojevic opened this issue Nov 16, 2016 · 2 comments

Comments

@bojandragojevic
Copy link

I'm interested how to properly share components between projects.

Idea is to use storybook to create component and how than properly to include that in to different projects.

Does someone has nice article or would like to explain ?

Thank you!

@usulpro
Copy link
Member

usulpro commented Nov 16, 2016

@bojandragojevic!
React components originally created to be reusable
But if you asking about some storybook specific workflow maybe you'll find interesting the react-cdk project!
This is an excellent storybook based Development Kit which as far as your question can help in the following:

  • publish your components to npm
  • transpille to ES5
  • deploy storybook with components to Github Pages

I believe that even if you are not going to be published on npm you like the ability to transpile the component to the distr - so you can use it in your other projects.

@usulpro
Copy link
Member

usulpro commented Mar 30, 2017

I think we can close it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants