Static Assets

Use the /public folder to store all static assets such as images, fonts, etc.

All static assets are served from your server's root (/ as in https://example.com/) folder and superimposed under your routes (routes have priority).

public/
โ”œโ”€โ”€ favicon.ico           # https://example.com/favicon.ico
โ””โ”€โ”€ images/
    โ””โ”€โ”€ logo.png          # https://example.com/images/logo.png

Contributors

Thanks to all the contributors who have helped make this documentation better!

  • manucorporat
  • Oyemade
  • mhevery
  • adamdbradley
  • the-r3aper7
  • mrhoodz
  • thejackshelton
  • hamatoyogi