Integrating Storybook and 11ty #17198
Unanswered
pauleveritt
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to integrate Storybook and 11ty. Specifically, approaching my shortcode/Nunjucks development as "components", and component-driven development using stories and tests.
I got reasonably far but I think there's a fundamental issue: Storybook webpack wants to target the browser but 11ty wants to target node. I could drop back to pure Nunjucks with no 11ty but I was hoping to use 11ty for rendering, to then let me do shortcodes (and the entire 11ty config setup.)
Here's a README write up in a reproducible repo. Wonder if anybody has any thoughts?
https://github.com/pauleveritt/storybook_11ty
Beta Was this translation helpful? Give feedback.
All reactions