Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto props detection not work with Vue2 #757

Open
6 tasks done
TheRedfoox opened this issue Aug 30, 2024 · 0 comments
Open
6 tasks done

Auto props detection not work with Vue2 #757

TheRedfoox opened this issue Aug 30, 2024 · 0 comments
Labels
to triage This issue needs to be triaged

Comments

@TheRedfoox
Copy link

Describe the bug

When using Histoire, Vue2 does not automatically detect props. I don't know if it's deliberate but I couldn't find anything in the documentation. If it is voluntary, how could it be changed to make it work?

Reproduction

Start the histoire-example-vue3 but change the package config with Vue2

System Info

System:
    OS: Linux 6.8 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (8) x64 Intel(R) Core(TM) i5-10310U CPU @ 1.70GHz
    Memory: 12.25 GB / 30.96 GB
    Container: Yes
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.17.1 - /usr/bin/node
    npm: 9.6.7 - /usr/bin/npm
  Browsers:
    Chrome: 128.0.6613.84
  npmPackages:
    @histoire/plugin-vue2: ^0.17.17 => 0.17.17 
    @vitejs/plugin-vue2: 2.3.1 => 2.3.1 
    histoire: ^0.17.17 => 0.17.17 
    vite: 5.3.4 => 5.3.4

Used Package Manager

npm

Validations

@TheRedfoox TheRedfoox added the to triage This issue needs to be triaged label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant