snippets added
This commit is contained in:
1 parent
6c10ae3461
commit
2080230313
18 files changed
+1083
-16
No files matched your search
@@ -0,0 +1,19 @@
|
||||
snippet bvstory "vue story"
|
||||
import $1 from './$1.vue';
|
||||
|
||||
export default {
|
||||
title: 'Components/$1',
|
||||
component: $1,
|
||||
};
|
||||
|
||||
const Template = (_, { argTypes }) => ({
|
||||
components: { $1 },
|
||||
props: Object.keys(argTypes),
|
||||
template: '<$1 v-bind="$$props" />',
|
||||
});
|
||||
|
||||
export const Default = Template.bind({});
|
||||
Default.args = {
|
||||
$0
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user