File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 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+ </div>
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 = { }
You can’t perform that action at this time.
0 commit comments