You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building out a custom <story> block that can be used in Vue single-file components (SFC) for easier documentation of stories. I've written a custom Webpack loader to parse said blocks and decorate the respective Vue component with some metadata.
So far, everything works beautifully upon initial load of the Storybook development server. Unfortunately, after every subsequent code change on the Vue side (e.g., changing the case attribute), I get a big honkin' red error saying Story of [story] named [new name] already exists
Issue details
I'm building out a custom
<story>
block that can be used in Vue single-file components (SFC) for easier documentation of stories. I've written a custom Webpack loader to parse said blocks and decorate the respective Vue component with some metadata.https://github.com/mattrothenberg/vue-stories/blob/master/.storybook/story-loader.js#L4-L16
So far, everything works beautifully upon initial load of the Storybook development server. Unfortunately, after every subsequent code change on the Vue side (e.g., changing the
case
attribute), I get a big honkin' red error saying Story of [story] named [new name] already existsSteps to reproduce
case
attribute from Cool story, Bro to Cooler story, BroPlease specify which version of Storybook and optionally any affected addons that you're running
Affected platforms
All Browsers, as far as I can tell
Screenshots / Screencast / Code Snippets (Optional)
https://imgur.com/QGhkUHF
Repo: https://github.com/mattrothenberg/vue-stories
The text was updated successfully, but these errors were encountered: