Addon Docs: Customizing docs page in an Angular project #13840
Unanswered
iessa-pragg-ctct
asked this question in
Help
Replies: 1 comment
-
It would appear that this feature can be manually enabled by adding
and setting jsx to
The above also allows you to create custom react components for use in MDX docs. Warning: This is fairly haphazard and I have not thoroughly tested that this works without breaking things Angular side. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I have created a bare bones Angular app (using cli generation) and used the auto detected storybook init. (
npx sb init
)I have come to the point where I would like to add some extra details to the default docs page however the current example appears to be only valid for react/jsx aware projects.
https://storybook.js.org/docs/angular/writing-docs/docs-page
Attempting to recreate this example just results in complier errors due to the use of JSX.
Is there an expectation for manual configuration of babel/webpack to customize docs page or is there just some missing magic sauce in the documentation?
preview.js (or preview.jsx)
Beta Was this translation helpful? Give feedback.
All reactions