storybookjs/storybook

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

Aberta

#26.220 aberto em 27 de fev. de 2024

 (23 comentários) (2 reações) (1 responsável)TypeScript (10.058 forks)batch import
bugdocgenhelp wantedvue3

Métricas do repositório

Stars
 (89.909 estrelas)
Métricas de merge de PR
 (Mesclagem média 7d 22h) (184 fundiu PRs em 30d)

Description

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

Guia do colaborador