Skip to content

How to import images #136

Description

@lepirlouit

How is importing images supposed working ?

import "./assets/react.png"; what is this supposed to do ?

I use the file-loader before
and imported the image path with import MyImagePath from './assets/my_image.png';

doing the same will just assign an empty object to MyImagePath

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

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions