Storybook: multiples storybook per project

Created on 14 May 2018  路  3Comments  路  Source: storybookjs/storybook

I'm trying add multiple storybook's to a same project, a storybook in react, and another in angular.

This is possible?

I target the first to directory .storybook/react, and all works very well, but, when I add the devDependency @storybook/angular, when I start the react storybook, is loaded @storybook/angular instead @storybook/react

question / support

Most helpful comment

indeed, this is current a limitation.

We're using the same binary name for both apps.

You can possibly run like so:

// start
node ./node_modules/@storybook/angular/bin/index.js

// build
node ./node_modules/@storybook/angular/bin/build.js

All 3 comments

indeed, this is current a limitation.

We're using the same binary name for both apps.

You can possibly run like so:

// start
node ./node_modules/@storybook/angular/bin/index.js

// build
node ./node_modules/@storybook/angular/bin/build.js

I'm working on solving this limitation, and have you be able to run a single storybook with multiple frameworks.

thanks @ndelangen, I'm running binary manullay, as you write

node ./node_modules/@storybook/angular/bin/index.js
Was this page helpful?
0 / 5 - 0 ratings

Related issues

dnlsandiego picture dnlsandiego  路  3Comments

xogeny picture xogeny  路  3Comments

tirli picture tirli  路  3Comments

wahengchang picture wahengchang  路  3Comments

tomitrescak picture tomitrescak  路  3Comments