We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Following 26dd6ed
Vue fire a warning when there are several child nodes in a story
[Vue warn]: <Suspense> slots expect a single root node. at <RenderStorySubApp>
Maybe this should be an opt-in feature? Like this: <Story suspense>...</Story>
<Story suspense>...</Story>
Or wrap the inside of Suspense into a div?
<template> <Story> <div>Hello</div> <div>World</div> </Story> </template>
Workaround:
<template> <Story> <div> <div>Hello</div> <div>World</div> </div> </Story> </template>
All
pnpm
The text was updated successfully, but these errors were encountered:
@Akryum I can do the fix if you want.
Two solutions:
<Suspense><div><Story ... /></div></Suspense>
Sorry, something went wrong.
I'm in favor of the wrapper div
fix: Add a story root wrapper for Suspense (fix #677) (#678)
c98417b
hugoattal
Successfully merging a pull request may close this issue.
Describe the bug
Following 26dd6ed
Vue fire a warning when there are several child nodes in a story
Maybe this should be an opt-in feature?
Like this:
<Story suspense>...</Story>
Or wrap the inside of Suspense into a div?
Reproduction
Workaround:
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: