Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 595 Bytes

import-public-image.md

File metadata and controls

20 lines (14 loc) · 595 Bytes

How to use an image from the public folder

In order to access an image, that is located in the public folder, you can either:

  • use the %PUBLIC_URL%:
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
  • or expect it to be available by the root:
<img src="/images/project/project-image01.png" />

References: