build(#10336): separate definitions and generated codes
This commit is contained in:
@@ -5,10 +5,15 @@ const meta = {
|
||||
component: note,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
note,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
note,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<note v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<note />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
Reference in New Issue
Block a user