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

Angular story code not correct #15575

Closed
daan93 opened this issue Jul 14, 2021 · 8 comments
Closed

Angular story code not correct #15575

daan93 opened this issue Jul 14, 2021 · 8 comments

Comments

@daan93
Copy link

daan93 commented Jul 14, 2021

After a clean install of Angular and latest Storybook, story code is not showing correctly in the docs. The component tag is shown, but any attributes or content are left out.

Expected behaviour
Storybook 6.1 shows complete story code
image

Current behaviour
Storybook 6.3 shows only the component tag
image

@Jakob-em
Copy link
Contributor

Looks like a duplicate of #14268

@daan93
Copy link
Author

daan93 commented Jul 14, 2021

Could be a duplicate, but as you see in the example not just the template is left out, it's also other story properties.

@shilman
Copy link
Member

shilman commented Jul 14, 2021

@yngvebn any chance you can take a look at this?

@yngvebn
Copy link
Contributor

yngvebn commented Jul 14, 2021

@shilman currently on vacation, but if I get the chance, sure

@shilman
Copy link
Member

shilman commented Jul 14, 2021

@yngvebn have a wonderful vacation! 👍

@dexster
Copy link
Contributor

dexster commented Jul 14, 2021

@daan93 What version of compodoc is in your package.json? There's an issue with 1.1.12/13. Install 1.1.11 and see whether this helps. I do see all attributes in my code view

@daan93
Copy link
Author

daan93 commented Jul 14, 2021

@dexster I was using 1.1.13, so I downgraded to 1.1.11. But storybook is still showing only the component tag in the code view.

@shilman
Copy link
Member

shilman commented Jun 7, 2023

We’re cleaning house! Storybook has changed a lot since this issue was created and we don’t know if it’s still valid.

Please open a new issue referencing this one if:

@shilman shilman closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2023
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

5 participants