How to Use Static Assets in Astro
Learn how to use static assets inside Astro, such as images, and also take a look at best practices when dealing with them.
We'll cover the following
When it comes to working with static assets in Astro, we must remember to place everything in the public
folder at the root of the project. A common practice is to organize assets into separate folders based on their file extensions—for example:
Get hands-on with 1400+ tech skills courses.