Gatsby.js — Static Assets

John Au-Yeung
3 min readFeb 6, 2021
Photo by Austin Distel on Unsplash

Gatsby is a static web site framework that’s based on React.

We can use it to create static websites from external data sources and more.

In this article, we’ll look at how to create a site with Gatsby.

Importing Assets Directly into Files

We can import images directly into component files.

--

--