import type { Meta, StoryObj } from '@storybook/vue3' import ThCard from '../packages/card/index.vue' import ThCardTitle from '../packages/card-title/index.vue' const meta = { title: '卡片/Card', component: ThCard, tags: ['autodocs'], render: (args: any) => ({ components: { ThCard }, setup() { return { args } }, template: '
', }), } satisfies Meta export default meta type Story = StoryObj export const Title: Story = { render: (args: any) => ({ components: { ThCard, ThCardTitle }, setup() { return { args } }, template: ` Title `, }), }