Storybook 7.4 - doc theme throws error from preview.ts #24309
Unanswered
shohrab-uddin
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently upgraded storybook from 6.5 to 7.4 in one of my angular based projects. I am getting the following error when I open a documentation page in storybook. I applied the custom theme inside the docs object in preview.ts class.
I followed the theming guidelines from here: https://storybook.js.org/docs/angular/configure/theming
Here is my theme class (docTheme.js):
Here is my manager.js class:
Note: docTheme.js works fine from this manager.js class
And here is my preview.ts class:
Beta Was this translation helpful? Give feedback.
All reactions