Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/missing assets in Storybook (#4324)

Ken Tandrian02a4e270836f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ac0f572de0..9c26756aa6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## Unreleased
+
+### Fixed
+
+- Added missing assets in _Storybook_ setup
+
## 2.139.1 - 2025-02-15
### Added
diff --git a/libs/ui/.storybook/main.js b/libs/ui/.storybook/main.js
index 8c8323a0cd..5b50ae062d 100644
--- a/libs/ui/.storybook/main.js
+++ b/libs/ui/.storybook/main.js
@@ -1,9 +1,16 @@
+/** @type {import('@storybook/angular').StorybookConfig} */
const config = {
addons: ['@storybook/addon-essentials'],
framework: {
name: '@storybook/angular',
options: {}
},
+ staticDirs: [
+ {
+ from: '../../../apps/client/src/assets',
+ to: '/assets'
+ }
+ ],
stories: ['../**/*.stories.@(js|jsx|ts|tsx|mdx)']
};