mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 14:11:26 +08:00
fix vue implicit render function
This commit is contained in:
parent
de741e3e6b
commit
1e9851a8c3
@ -1,4 +1,4 @@
|
||||
export { renderToDOM } from './render';
|
||||
export { render, renderToDOM } from './render';
|
||||
export { decorateStory } from './decorateStory';
|
||||
|
||||
export const parameters = { framework: 'vue' };
|
||||
|
@ -49,7 +49,7 @@ export const render: ArgsStoryFn<VueFramework> = (props, context) => {
|
||||
}
|
||||
|
||||
return {
|
||||
props: component.props,
|
||||
props,
|
||||
components: { [componentName]: component },
|
||||
template: `<${componentName} v-bind="$props" />`,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user