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
exportconstprimary=(args,{ argTypes })=>({props: Object.keys(argTypes),components: { ElBtn },// v-bind by itself takes every key in the value and v-binds them to a field on this component// $props is every prop on the `primary` componenttemplate: `<el-btn v-bind="$props">Text</el-btn>`,});
for secondary you can follow this layout for the props too.
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hi. I've got absolutely no idea hot to make knobs work reactively. Haven't found any examples on web either.
Here's my code:
Added via Vue CLI 4.5.0 (vue add storybook).
Relevant dev dependencies:
Both controls on both stories appear, but none of them changes actual props.
Also, would be grateful for any opensource storybook 6.0 examples with vue or any relevant guides.
The text was updated successfully, but these errors were encountered: