storybookjs/storybook

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

開放

#26,220 建立於 2024年2月27日

 (23 則留言) (2 個反應) (1 位負責人)TypeScript (10,058 個分叉)batch import
bugdocgenhelp wantedvue3

倉庫指標

星標
 (89,909 顆星)
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

貢獻者指南