Skip to content

Importing (or using) static files such as images (GIF, JPG, PNG, SVG)? #38

Description

@marcelhageman

I understand that client-side webpack could resolve files (like SVG) but server-side it'll try to require() parse the files instead. Would universal-react-redux-boilerplate be any help there?

Alternatively, what's the recommended approach to loading static files? I'd like a static directory where I can put all my images and such. It's a bit unclear to me where I'm supposed to put those.

Would also be a nice addition to the documentation 😉

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions