Skip to content

[6.0] Provide a quick guide for having storybook alongside your app #241

@dannyhw

Description

@dannyhw

Is your feature request related to a problem? Please describe.

I often am asked how can you run storybook along side your existing app. Usually the answer is that it's the same as any component so you can do it how you would any other component. However I think that a simple guide could useful for many people and be linked to when these questions come up.

There are a few methods of creating multiple entry points of your app or just optionally rendering something.

It would be good if we could document an easy way to do this with react native storybook

Describe the solution you'd like

  • Explore the option of using two metro-configs with different project-roots.
  • Explore the option of using a json config file that toggles storybook
  • any other options that seem viable
  • Create a quick guide for this and link to it on the readme

Metadata

Metadata

Assignees

No one assigned

    Labels

    6.5documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions