has anyone used liquidjs w/ storybook? #378
dgpalmer
started this conversation in
Working with Shopify
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i am working on a new shopify theme and i'd like to build a storybookjs component library.
of course the new shopify theme uses liquid templates for all the components. has anyone done something similar with Storybook? I am experiencing an issue where the browser is unable to find the liquid file in storybook, i'm guessing this is due to the storybook webpack not compiling the liquid file but I am not certain.
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:6006/views/static/media/image-with-text.433d3ef3.liquid
i used the reactjs demo app and was able to render some of my liquid templates and pass data to them from react, here is a copy of my working App.js from that demo with my own custom liquid template
Sorry, I know this is more of a storybook webpack configuration issue, but i figured I'd ask here if anyone has used liquidjs with storybook successfully and if they could give any pointers.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions