build(#10336): separate definitions and generated codes

This commit is contained in:
Acid Chicken (硫酸鶏)
2023-03-20 16:13:07 +09:00
parent a19c560e7b
commit 6e21147ff6
435 changed files with 3887 additions and 1361 deletions

View File

@@ -5,10 +5,15 @@ const meta = {
component: flash_edit,
};
export const Default = {
components: {
flash_edit,
render(args, { argTypes }) {
return {
components: {
flash_edit,
},
props: Object.keys(argTypes),
template: '<flash_edit v-bind="$props" />',
};
},
template: '<flash_edit />',
parameters: {
layout: 'fullscreen',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: flash_index,
};
export const Default = {
components: {
flash_index,
render(args, { argTypes }) {
return {
components: {
flash_index,
},
props: Object.keys(argTypes),
template: '<flash_index v-bind="$props" />',
};
},
template: '<flash_index />',
parameters: {
layout: 'fullscreen',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: flash,
};
export const Default = {
components: {
flash,
render(args, { argTypes }) {
return {
components: {
flash,
},
props: Object.keys(argTypes),
template: '<flash v-bind="$props" />',
};
},
template: '<flash />',
parameters: {
layout: 'fullscreen',
},