From 164befe1a4c36b8b27178928dbb8b3d5dfaf5df9 Mon Sep 17 00:00:00 2001 From: hyochan Date: Thu, 8 Feb 2024 05:06:44 +0900 Subject: [PATCH] chore: asset dir https://storybook.js.org/docs/configure/images-and-assets --- .storybook/main.ts | 1 + .storybook/manager-head.html | 4 ++-- .storybook/theme.ts | 2 +- package.json | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.storybook/main.ts b/.storybook/main.ts index 56016bd7..55b7085a 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -4,6 +4,7 @@ module.exports = { '../stories/**/*.stories.mdx', '../stories/**/*.stories.@(js|jsx|ts|tsx)', ], + staticDirs: [{ from: '../public', to: '/assets' }], addons: [ '@storybook/addon-links', '@storybook/addon-essentials', diff --git a/.storybook/manager-head.html b/.storybook/manager-head.html index fd11f002..5d9bb8b6 100644 --- a/.storybook/manager-head.html +++ b/.storybook/manager-head.html @@ -1,5 +1,5 @@ - - + +