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

@@ -4,13 +4,18 @@ const meta = {
title: 'components/MkButton',
component: MkButton,
};
export default meta;
export const Default = {
components: {
MkButton,
render(args, { argTypes }) {
return {
components: {
MkButton,
},
props: Object.keys(argTypes),
template: '<MkButton v-bind="$props">Text</MkButton>',
};
},
template: '<MkButton />',
parameters: {
layout: 'centered',
},
};
export default meta;