Setup Storybook v6 (I spent 2hours trying to use v7 instead but it isn't worth it

This commit is contained in:
garronej
2023-04-15 22:18:11 +02:00
parent ff0608c202
commit f7fb2efcdd
27 changed files with 9730 additions and 316 deletions

17
.storybook/main.js Normal file
View File

@ -0,0 +1,17 @@
module.exports = {
"stories": [
"../stories/*.stories.mdx",
"../stories/*.stories.@(ts|tsx)",
"../stories/**/*.stories.@(ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"storybook-dark-mode",
"@storybook/addon-a11y"
],
"core": {
"builder": "webpack5"
},
"staticDirs": ["./static"]
};