refactor: add static assets to storybook
This commit is contained in:
@@ -3,7 +3,7 @@ import type { StorybookConfig } from '@storybook/angular';
|
||||
const config: StorybookConfig = {
|
||||
"stories": [
|
||||
"../src/**/*.mdx",
|
||||
"../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"
|
||||
"../src/**/*.stories.@(js|jsx|mjs|ts|tsx)",
|
||||
],
|
||||
"addons": [
|
||||
"@storybook/addon-essentials",
|
||||
@@ -12,7 +12,8 @@ const config: StorybookConfig = {
|
||||
],
|
||||
"framework": {
|
||||
"name": "@storybook/angular",
|
||||
"options": {}
|
||||
}
|
||||
"options": {},
|
||||
},
|
||||
"staticDirs": [{from:"../assets", to:"/assets"}],
|
||||
};
|
||||
export default config;
|
||||
Reference in New Issue
Block a user