storybook-framework-qwik icon indicating copy to clipboard operation
storybook-framework-qwik copied to clipboard

Generated source code uses the whole Story object

Open adaliszk opened this issue 2 years ago • 1 comments

First off, thank you for putting this project together!

While there were extra steps to make it work, the main problem I have right now is that the generated source code is different from what the render function yields but the whole story object. Not quite sure where this needs to be addressed; I am a newbie with Storybooks, but since this seems to happen with your framework, it seems the place to report it.

Please see the issue in question: https://stackblitz.com/edit/storybook-qwik-example?file=src%2FCard.stories.tsx

  1. Open the Overview
  2. Click show at the source code

Note: If you get a module error with a missing cache foilder, just modify one of the files and let vite recompile.

adaliszk avatar Feb 06 '23 23:02 adaliszk

Oh yes, I haven't done anything to make the "show code" feature work. Thank you for opening an issue.

literalpie avatar Feb 07 '23 01:02 literalpie