Skip to content

Adding example CSF/MDX files and config would greatly help #937

@Sidnioulz

Description

@Sidnioulz

Hey Chakir, hope you're doing well!

I'd like to suggest adding the following to the repo to get people started:

  • if no .storybook/main.* found, a sample main.ts could be created, because it's hard to guess the framework path; example
  • a MDX example could be created; example
  • a CSF example could be created; example

I'd also suggest pre-installing addon-docs with a version matching the storybook package (as long as this repo needs to stick to 9.0.5). Anyone naively installing it will end up with 9.1.x, causing runtime errors before they could get a fresh install running.

Note that Storybook did not pick up @ or ~ import paths, so there may be something to do to make it aware of the TS config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions