Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 413 Bytes

import-public-css.md

File metadata and controls

18 lines (12 loc) · 413 Bytes

How to use a css file from the public folder

The same way we access any file from the public folder, you can either:

  • use the %PUBLIC_URL%:
<link rel="stylesheet" href="%PUBLIC_URL%/css/bootstrap.min.css">
  • or expect it to be available by the root:
<link rel="stylesheet" href="/css/bootstrap.min.css">

References: