We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d8fcf5 commit bd83483Copy full SHA for bd83483
1 file changed
app/pages/about.stories.ts
@@ -0,0 +1,30 @@
1
+import About from './about.vue'
2
+import type { Meta, StoryObj } from '@storybook-vue/nuxt'
3
+import AppHeader from '~/components/AppHeader.vue'
4
+import AppFooter from '~/components/AppFooter.vue'
5
+
6
+const meta = {
7
+ component: About,
8
+ parameters: {
9
+ layout: 'fullscreen',
10
+ },
11
+ decorators: [
12
+ () => ({
13
+ components: { AppHeader, AppFooter },
14
+ template: `
15
+ <div class="min-h-screen flex flex-col bg-bg text-fg">
16
+ <AppHeader :show-logo="true" />
17
+ <div id="main-content" class="flex-1 flex flex-col" tabindex="-1">
18
+ <story />
19
+ </div>
20
+ <AppFooter />
21
22
+ `,
23
+ }),
24
+ ],
25
+} satisfies Meta<typeof About>
26
27
+export default meta
28
+type Story = StoryObj<typeof meta>
29
30
+export const Default: Story = {}
0 commit comments