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

Allow to create a production build #11

Closed
arunoda opened this issue Mar 31, 2016 · 5 comments
Closed

Allow to create a production build #11

arunoda opened this issue Mar 31, 2016 · 5 comments

Comments

@arunoda
Copy link
Member

arunoda commented Mar 31, 2016

Right now, we need to run storybook locally via something like npm run storybook. But, it'd be great, if we can build the final HTML and share it anywhere.

So it'll be something like npm run storybook-build.

Then it'll create a directory in your project and you can upload those HTML file to anywhere you want and share your stories.

@thani-sh
Copy link
Contributor

thani-sh commented Apr 8, 2016

Almost done just need to cleanup the code a bit.

@thani-sh
Copy link
Contributor

thani-sh commented Apr 8, 2016

I have a working version here. I'm not that familiar with webpack so someone should take a look.

@arunoda
Copy link
Member Author

arunoda commented Apr 18, 2016

This is implemented.

@arunoda arunoda closed this as completed Apr 18, 2016
ndelangen pushed a commit that referenced this issue Apr 5, 2017
Add generator for React Native apps
ndelangen pushed a commit that referenced this issue Apr 5, 2017
Renamed ‘wrap’ to ‘withKnobs’
ndelangen pushed a commit that referenced this issue Apr 5, 2017
ndelangen added a commit that referenced this issue Apr 5, 2017
ndelangen pushed a commit that referenced this issue Apr 5, 2017
ndelangen pushed a commit that referenced this issue Apr 15, 2017
thani-sh pushed a commit that referenced this issue May 24, 2017
@adyz
Copy link

adyz commented Jun 26, 2018

I found this issue looking for documentation, if this is implemented, can anybody post a link to the documentation? Thank you!

@crashuniverse
Copy link

@adyz https://storybook.js.org/basics/exporting-storybook/

{
  "scripts": {
    "storybook": "build-storybook -c .storybook -o .out"
  }
}

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

4 participants