storybookjs/storybook

[Bug]: `vue-component-meta` does not work in monorepo

Open

#26,220 创建于 2024年2月27日

在 GitHub 查看
 (23 评论) (2 反应) (1 负责人)TypeScript (10,058 fork)batch import
bugdocgenhelp wantedvue3

仓库指标

Star
 (89,909 star)
PR 合并指标
 (平均合并 7天 22小时) (30 天内合并 184 个 PR)

描述

Describe the bug

I'm using the new storybook 8.0.0-beta.5 but I'm not being able to get inference of more complex props and events provided by vue-component-meta. My guess is that it has something to do with the typescript config in my project:

apps
  storybook
    tsconfig.json
  web
    src
      components
        Button.vue
  tsconfing.json

If you want I could provide a repro in case you don't have an idea already how to fix this. It's just a bit of work to rip out all the unrelated parts. Just let me know :)

To Reproduce

No response

System

No response

Additional context

No response

贡献者指南