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