Add storybook for the react repo, this will make developing components enjoyable ! It can also serve as a single source of thruth.
22 lines
435 B
JavaScript
22 lines
435 B
JavaScript
module.exports = {
|
|
"stories": [
|
|
"../src/**/*.stories.mdx",
|
|
"../src/**/*.stories.@(js|jsx|ts|tsx)"
|
|
],
|
|
"addons": [
|
|
"@storybook/addon-links",
|
|
"@storybook/addon-essentials",
|
|
"@storybook/addon-interactions",
|
|
'@storybook/preset-scss'
|
|
],
|
|
"framework": "@storybook/react",
|
|
"core": {
|
|
"builder": "@storybook/builder-vite"
|
|
},
|
|
staticDirs: [
|
|
'dist',
|
|
],
|
|
"features": {
|
|
"storyStoreV7": true
|
|
}
|
|
} |