histoire icon indicating copy to clipboard operation
histoire copied to clipboard

Auto props detection not work with Vue2

Open TheRedfoox opened this issue 1 year ago • 0 comments

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 avatar Aug 30 '24 15:08 TheRedfoox