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
No known key found for this signature in database
GPG key ID: 3E87B98A3F6BAB99
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;