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