skip to Main Content

I have a next js project and my code has nothing with GET http://localhost:3000/highLightTitle.png inside project but my project still gives an error about this issue this is error
inside content.js:199g)

has nothing with GET http://localhost:3000/highLightTitle.png inside project but my project still gives an error about this issue

2

Answers


  1. please check the path for the image, looks like you have not placed the image in public folder.

    Login or Signup to reply.
  2. You want to keep your images in /public folder. lets say

    /public
     - imageone.png
     - imagetwo.png
    

    In order to use those images

    <Image src='/imageone.png' alt='profile' />
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search