lesson 1, chapter 2: storybook setup

This commit is contained in:
2023-07-28 14:00:44 +02:00
parent fce68243c3
commit 123e60e898
35 changed files with 6280 additions and 7 deletions

22
.storybook/main.ts Normal file
View File

@@ -0,0 +1,22 @@
import type { StorybookConfig } from '@storybook/react-vite';
const config: StorybookConfig = {
"stories": [
"../src/**/*.mdx",
"../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-onboarding",
"@storybook/addon-interactions"
],
"framework": {
"name": "@storybook/react-vite",
"options": {}
},
"docs": {
"autodocs": "tag"
}
};
export default config;