Storybook: Feature Storybook Node API

Created on 28 Sep 2018  路  4Comments  路  Source: storybookjs/storybook

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

core feature request

Most helpful comment

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

All 4 comments

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

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

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

@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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arunoda picture arunoda  路  3Comments

dnlsandiego picture dnlsandiego  路  3Comments

tirli picture tirli  路  3Comments

xogeny picture xogeny  路  3Comments

MrOrz picture MrOrz  路  3Comments