[Bug] Images and Designs are not visible
Opened this issue · 2 comments
PatriciaCollinz commented
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 commented
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;
khatriaadarsh commented