27 lines
652 B
TypeScript
27 lines
652 B
TypeScript
import type { Meta, StoryObj } from '@storybook/vue3-vite'
|
|
|
|
const meta = {
|
|
title: 'Example/Welcome',
|
|
parameters: {
|
|
layout: 'centered',
|
|
},
|
|
tags: ['autodocs'],
|
|
} satisfies Meta
|
|
|
|
export default meta
|
|
type Story = StoryObj<typeof meta>
|
|
|
|
export const Welcome: Story = {
|
|
render: () => ({
|
|
template: `
|
|
<div style="padding: 2rem; text-align: center;">
|
|
<h1 style="font-size: 2rem; font-weight: bold; margin-bottom: 1rem;">
|
|
Nychthemeron Component Library
|
|
</h1>
|
|
<p style="color: var(--text-muted);">
|
|
Interactive playground for Vue components with PrimeVue
|
|
</p>
|
|
</div>
|
|
`,
|
|
}),
|
|
}
|