build(#10336): avoid intrinsic component names

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-03-21 13:12:30 +09:00
parent 49f8bb4974
commit 5ced8aef27
No known key found for this signature in database
GPG key ID: 3E87B98A3F6BAB99
112 changed files with 668 additions and 668 deletions

View file

@ -1,21 +1,21 @@
import { Meta, StoryObj } from '@storybook/vue3';
import edit from './edit.vue';
import edit_ from './edit.vue';
const meta = {
title: 'pages/gallery/edit',
component: edit,
} satisfies Meta<typeof edit>;
component: edit_,
} satisfies Meta<typeof edit_>;
export const Default = {
render(args, { argTypes }) {
return {
components: {
edit,
edit_,
},
props: Object.keys(argTypes),
template: '<edit v-bind="$props" />',
template: '<edit_ v-bind="$props" />',
};
},
parameters: {
layout: 'fullscreen',
},
} satisfies StoryObj<typeof edit>;
} satisfies StoryObj<typeof edit_>;
export default meta;

View file

@ -1,21 +1,21 @@
import { Meta, StoryObj } from '@storybook/vue3';
import index from './index.vue';
import index_ from './index.vue';
const meta = {
title: 'pages/gallery/index',
component: index,
} satisfies Meta<typeof index>;
component: index_,
} satisfies Meta<typeof index_>;
export const Default = {
render(args, { argTypes }) {
return {
components: {
index,
index_,
},
props: Object.keys(argTypes),
template: '<index v-bind="$props" />',
template: '<index_ v-bind="$props" />',
};
},
parameters: {
layout: 'fullscreen',
},
} satisfies StoryObj<typeof index>;
} satisfies StoryObj<typeof index_>;
export default meta;

View file

@ -1,21 +1,21 @@
import { Meta, StoryObj } from '@storybook/vue3';
import post from './post.vue';
import post_ from './post.vue';
const meta = {
title: 'pages/gallery/post',
component: post,
} satisfies Meta<typeof post>;
component: post_,
} satisfies Meta<typeof post_>;
export const Default = {
render(args, { argTypes }) {
return {
components: {
post,
post_,
},
props: Object.keys(argTypes),
template: '<post v-bind="$props" />',
template: '<post_ v-bind="$props" />',
};
},
parameters: {
layout: 'fullscreen',
},
} satisfies StoryObj<typeof post>;
} satisfies StoryObj<typeof post_>;
export default meta;