how to implement components made using storybook and react in another real application using github repo link?

104 views Asked by At

Importing storybook components to another project

how to implement components made using storybook and react in another real application using github repo link ?

by using github-repo link i need to import the storybook into another project

1

There are 1 answers

0
madsadi On

basically in case of private projects you want to add a storybook via repo link, THE ANSWER is you simply execute this command in your terminal:

yarn add "your-repo-https-link" or npm install "your-repo-https-link"

but before doing this make sure your storybook builds properly and has no issue otherwise the project that using this package is going to break.