mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-06 07:29:09 +08:00
fix: story caused build bug.
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
import type { Meta, StoryObj} from "@storybook/vue3";
|
||||
|
||||
import AbBangumiCard from "./ab-bangumi-card.vue";
|
||||
|
||||
const meta: Meta<typeof AbBangumiCard> = {
|
||||
title: "components/ab-bangumi-card",
|
||||
component: AbBangumiCard,
|
||||
}
|
||||
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof AbBangumiCard>;
|
||||
|
||||
export const Template: Story = {
|
||||
render: (args) => ({
|
||||
components: { AbBangumiCard },
|
||||
setup() {
|
||||
return { args };
|
||||
|
||||
},
|
||||
template: '<ab-bangumi-card v-bind="args" />',
|
||||
}),
|
||||
args: {
|
||||
poster: "/images/Bangumi/202306/b56b49ea.jpg",
|
||||
name: "BanGDream",
|
||||
season: 1,
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user