New: Hero Page und Navigation
This commit is contained in:
19
web/.storybook/main.ts
Normal file
19
web/.storybook/main.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import type { StorybookConfig } from 'storybook-framework-redwoodjs-vite'
|
||||
|
||||
import { getPaths, importStatementPath } from '@redwoodjs/project-config'
|
||||
|
||||
const redwoodProjectPaths = getPaths()
|
||||
|
||||
const config: StorybookConfig = {
|
||||
framework: 'storybook-framework-redwoodjs-vite',
|
||||
|
||||
stories: [
|
||||
`${importStatementPath(
|
||||
redwoodProjectPaths.web.src
|
||||
)}/**/*.stories.@(js|jsx|ts|tsx|mdx)`,
|
||||
],
|
||||
|
||||
addons: ['@storybook/addon-essentials'],
|
||||
}
|
||||
|
||||
export default config
|
1
web/.storybook/preview-body.html
Normal file
1
web/.storybook/preview-body.html
Normal file
@ -0,0 +1 @@
|
||||
<div id="redwood-app"></div>
|
Reference in New Issue
Block a user