Add Storybook Docs + PostCSS/TailwindCSS builder

This commit is contained in:
2020-11-05 15:13:38 +01:00
parent 3285bc3363
commit 38590b3062
5 changed files with 48 additions and 5 deletions

View File

@@ -1,10 +1,23 @@
const path = require("path");
module.exports = {
"stories": [
stories: [
"../stories/**/*.stories.mdx",
"../stories/**/*.stories.@(js|jsx|ts|tsx)"
"../stories/**/*.stories.@(js|jsx|ts|tsx)",
"../components/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
addons: [
{
name: "@storybook/addon-docs",
options: {
vueDocgenOptions: {
alias: {
"@": path.resolve(__dirname, "../")
}
}
}
},
"@storybook/addon-links",
"@storybook/addon-essentials"
]
}
};