Skip to content

Commit

Permalink
WIP on storybook
Browse files Browse the repository at this point in the history
- using typescript
- move storybook to project root
  • Loading branch information
sim51 committed Jan 31, 2024
1 parent d4a46eb commit 8f51531
Show file tree
Hide file tree
Showing 10 changed files with 1,098 additions and 373 deletions.
17 changes: 17 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import type { StorybookConfig } from "@storybook/html-vite";

/** @type { import('@storybook/html-vite').StorybookConfig } */
const config: StorybookConfig = {
stories: ["../packages/**/src/**/*.mdx", "../packages/**/src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions"],
framework: "@storybook/html-vite",
typescript: {
check: true,
skipBabel: false,
},
docs: {
autodocs: "tag",
},
logLevel: "debug",
};
export default config;
File renamed without changes.
Loading

0 comments on commit 8f51531

Please sign in to comment.