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
Is your feature request related to a problem? Please describe.
I would like to streamline story namespaces using the Name Customization feature. However, it does not seem to be possible to use any logic exporting a story title.
Doing so a blank page is shown an I get this error in the browser console:
Uncaught SyntaxError: The requested module '/generated/generated-list.tsx' does not provide an export named 'storySource' (at source.tsx:6:1)
Story names need to be static (simple strings). It's the intentional limitation of Ladle to support automatic code-splitting and some other features. It seems there might be some regression in the error message that's makes it unclear - should look into it. Also, we should probably highlight this more in the docs.
Is your feature request related to a problem? Please describe.
I would like to streamline story namespaces using the Name Customization feature. However, it does not seem to be possible to use any logic exporting a story title.
Doing so a blank page is shown an I get this error in the browser console:
Working Example:
Broken Exmaples:
My usecase:
The text was updated successfully, but these errors were encountered: