Skip to content

Commit e61cf2b

Browse files
committed
fix(storybook): copy docs content to static dirs
1 parent d22733e commit e61cf2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.storybook/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const react = require("@vitejs/plugin-react");
22

33
module.exports = {
44
stories: ["../stories/Start.stories.mdx", "../stories/**/*.stories.mdx", "../stories/**/*.stories.@(js|jsx|ts|tsx)"],
5-
staticDirs: [{ from: '../res', to: '/res'}],
5+
staticDirs: [{ from: '../res', to: '/res'}, { from: '../docs', to: '/docs'}],
66
addons: [{
77
name: '@storybook/addon-docs',
88
options: {

0 commit comments

Comments
 (0)