How to install and use Emotion in a Gatsby project.
Instructor: [00:00] First, we'll initialize a new Gatsby project with the default boilerplate. Then, we'll install Emotion Core and the Gatsby Emotion plugin. Now, we can open the gatsby-config.js and add our Emotion plugin.
[00:28] Next, we can start our Gatsby with yarn develop. We'll take the URL it gave us and put it into our browser. Next, we can go into our source folder and pages and open the index.js file. We're going to add some styles to the h1 tag.
[00:57] That's it. You've used Emotion for the first time.