Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Images and Designs are not visible #25

Open
PatriciaCollinz opened this issue Jul 7, 2023 · 1 comment
Open

[Bug] Images and Designs are not visible #25

PatriciaCollinz opened this issue Jul 7, 2023 · 1 comment

Comments

@PatriciaCollinz
Copy link

Version

1.1.0

Reproduction link

https://codepen.io/Patricia-Collins/pen/bGQoWoj

Operating System

Win 10

Device

Asus

Browser & Version

Chrome Version 114

Steps to reproduce

I just shared the package.json since that's the only thing different from your code, if you can check what's wrong with that

What is expected?

Images to be uploaded and designs

What is actually happening?

Images and designs not showing up


Solution

Additional comments

My work network won't let me upload anything without blocking the site I'm sorry I can just provide the package.json file plus I'm using node 19.8.1

@yusufkocak1
Copy link

Use the images by importing them as follows

import React from 'react';
import myImage from '../assets/my-image.jpg';

const MyComponent = () => {
  return (
    <div>
      <img src={myImage} alt="Resim Açıklaması" />
    </div>
  );
};

export default MyComponent;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants