Open mattdell opened 8 years ago
This project can only be used with browserify builds... Are you using webpack? Or how do you require images via browserify?
Ah, I am using webpack...
there is another project: https://github.com/theogravity/react-styleguide-generator-alt
That looks promising! Thanks for the heads up.
I'm trying to add react-styleguide-generator into my app but I keep getting the following error.
(apologies for the length but an example of my react code is after this snippet)
My assumption is this is happening because I am using require for images which is then being picked up somewhere during compilation.
Here is the render method where it is being used:
Am I missing a config option or something that can help this?