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