Skip to content

[Bug] Does not work with Nx #38

Open
@kroeder

Description

@kroeder

Describe the bug

In Nx, you have a root .storybook directory but the actual storybook projects are nexted in "apps/" or "libs/". As soon as you run Storybook in an Nx repo, it looks for root/.storybook/tsconfig.json instead of, e.g. libs/my-lib/.storybook/tsconfig.json

Workaround

Create a .storybook/tsconfig.json or use the existing one as a proxy config

{
  "extends": "../packages/storybook/.storybook/tsconfig.json"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions