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

Feature Storybook Node API #4249

Closed
ar53n opened this issue Sep 28, 2018 · 4 comments
Closed

Feature Storybook Node API #4249

ar53n opened this issue Sep 28, 2018 · 4 comments

Comments

@ar53n
Copy link

ar53n commented Sep 28, 2018

If you are reporting a bug or requesting support, start here:

Bug or support request summary

Hello, I propose to do Node API.
Like a webpack

const Storybook = require('storybook')

const storybookInstance = new Storybook(config)

And then we can load/unload dynamically other packages and other features. For example, we have monorepo and we want to manually specify which folder to load

@igor-dv
Copy link
Member

igor-dv commented Sep 28, 2018

That's nice. I even have a few stashed changes toward this =)

@igor-dv igor-dv added the todo label Oct 2, 2018
@igor-dv
Copy link
Member

igor-dv commented Oct 2, 2018

@Keraito, does this issue somehow collides with your work on CLI ?

@ar53n
Copy link
Author

ar53n commented Oct 4, 2018

Also we can add html template config, without create html file

@Keraito
Copy link
Contributor

Keraito commented Oct 4, 2018

@igor-dv currently not as the CLI is basically just running terminal commands on the background 😅 Having this kind of API to do it codewise would be cool tho for both the CLI and what is suggested here.

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