-
Notifications
You must be signed in to change notification settings - Fork 32
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] Show Code doesn't work when using Svelte-native format and <Template/> tags #86
Comments
bumping this after the holiday break :) |
is there anyone maintaining this repo? on top of the mentioned issue, you can't create your own DocsPage (or even hide the default one) for some reason The following doesn't work:
|
Closing this issue because the generation of Svelte snippets are not done by this addon but is the responsibility of the core Storybook/svelte and there is already issues about this bug. |
@j3rem1e Since this issue is now closed could you link here which issue in Storybook/svelte we should follow? Thank you. |
At least this one : storybookjs/storybook#24008 |
Describe the bug
If you use a Svelte-native format for a story, and use the
<Template/>
tags along with args to reduce boilerplate, the Show Code option on the docs page doesn't display the actual code for the component.Example:
Results in this:
Steps to reproduce the behavior
Expected behavior
Viewing the code should display the component code the same way it does when not using Templates such as
Environment
The text was updated successfully, but these errors were encountered: