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

[Bug]: Vue 3 Source Code Panel No Longer Show Custom Template Content #29990

Open
TNGD-YQ opened this issue Dec 9, 2024 · 0 comments
Open

[Bug]: Vue 3 Source Code Panel No Longer Show Custom Template Content #29990

TNGD-YQ opened this issue Dec 9, 2024 · 0 comments

Comments

@TNGD-YQ
Copy link

TNGD-YQ commented Dec 9, 2024

Describe the bug

Before 8.3.0 release, we can get the additional attributes and customised templare in source code preview as expected.

Image

https://stackblitz.com/edit/github-pzabiw5o-y7gttwv2?file=src%2Fstories%2FButton.stories.ts,package.json,.stackblitzrc&preset=node

On 8.3.0 release,I believe a new improvement to support v-bind code display override the original implementation

Image

Reproduction link

https://stackblitz.com/edit/github-pzabiw5o?file=src%2Fstories%2FButton.stories.ts&preset=node

Reproduction steps

  1. open the Reproduction link above.
  2. enter Button component page a right side preview panel.
  3. expand the source code panel.
  4. expect to see the template with custom content, now all overridden.

System

Storybook Environment Info:

  System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm <----- active
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @storybook/addon-essentials: ^8.5.0-alpha.18 => 8.5.0-alpha.18 
    @storybook/addon-interactions: ^8.5.0-alpha.18 => 8.5.0-alpha.18 
    @storybook/addon-onboarding: ^8.5.0-alpha.18 => 8.5.0-alpha.18 
    @storybook/blocks: ^8.5.0-alpha.18 => 8.5.0-alpha.18 
    @storybook/test: ^8.5.0-alpha.18 => 8.5.0-alpha.18 
    @storybook/vue3: ^8.5.0-alpha.18 => 8.5.0-alpha.18 
    @storybook/vue3-vite: ^8.5.0-alpha.18 => 8.5.0-alpha.18 
    storybook: ^8.5.0-alpha.18 => 8.5.0-alpha.18

Additional context

No response

@TNGD-YQ TNGD-YQ changed the title [Bug]: [Bug]: Vue 3 Source Code Panel No Longer Show Custom Template Content Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant