build(#10336): avoid intrinsic component names
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import preview from './preview.vue';
|
||||
import preview_ from './preview.vue';
|
||||
const meta = {
|
||||
title: 'pages/preview',
|
||||
component: preview,
|
||||
} satisfies Meta<typeof preview>;
|
||||
component: preview_,
|
||||
} satisfies Meta<typeof preview_>;
|
||||
export const Default = {
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
preview,
|
||||
preview_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<preview v-bind="$props" />',
|
||||
template: '<preview_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof preview>;
|
||||
} satisfies StoryObj<typeof preview_>;
|
||||
export default meta;
|
||||
|
Reference in New Issue
Block a user