Use Stories outside storybook | Create external documentation #24057
Unanswered
QuentinFrc
asked this question in
Help
Replies: 1 comment 2 replies
-
Try wrapping your page in an https://github.com/storybookjs/storybook/blob/next/test-storybooks/external-docs/pages/_app.js We started developing this feature for Storybook 7.0, but did not ever formally release it, so it's experimental and I'm not sure whether it's currently working. However, it's worth a try! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
For some reason I want to create custom documentations pages in a nextjs project to document my component library.
I'm using storybook in order to test and develop all components and I want to create the documentation outside storybook in order to put it in production environnement (to see component set directly on live project).
For this I'm using contentlayer to write mdx files to generate static page and I'm also mapping custom mdx block to components.
What I try to do is mapping a
Story
custom component acting as the Story block in@storybook/blocks
.I don't know exactly why but using Story block outside storybook create this error.
Does someone have any idea how I can run out this error and with less boilerplate as possible reproduce the Story block from storybook ?
Thanks for reading
Beta Was this translation helpful? Give feedback.
All reactions