-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Question] When I toggle "show code" in preview, it show just 'Template.bind({})' #12054
Comments
I'm also experiencing this issue. And I'm also using Vue (2.6.11). As this issue already has the bug and tracked labels I suppose it's a confirmed bug? |
Yep fix is on the way today |
ZOMG!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.0.13 containing PR #12107 that references this issue. Upgrade today to try it out! Closing this issue. Please re-open if you think there's still more to do. |
I still see this error on mine at 6.0.21 for @storybook/web-components! I am using mdx! |
@kbhutiya Do you have a repro repo you can share? |
@shilman Since its inside our company's repo i dont have a public repo to share ! But below are the screenshots of the config and how component looks! I am using @storybook/web-components at 6.0.21! main.js component's mdx file |
@shilman Is there anything wrong with what i am doing above? Looks like i followed the same pattern as storybook documentation! |
Bug or support request summary
When I toggle "show code" in preview, it show just 'Template.bind({})'
But what I want is the actual component code to be printed.
I expected the following code snippet to print either
Or
What am I missing? How do I get the output as expected?
Steps to reproduce
Here is my code
Before the toggle it looks like this,
After the toggle it looks like this:
Please specify which version of Storybook and optionally any affected addons that you're running
Affected platforms
The text was updated successfully, but these errors were encountered: