Using Multiple Gatsby Themes
Gatsby themes are intended to be composable. This means you can install multiple themes alongside each other.
For example, gatsby-starter-theme
composes two Gatsby themes: gatsby-theme-blog
and gatsby-theme-notes
You can include multiple theme packages in your gatsby-config.js
. gatsby-starter-theme
includes both theme packages: gatsby-theme-blog
and gatsby-theme-notes
.
In the default setup, a blog will be served from the root path (/
), and the notes content will be served from /notes
.
Run gatsby develop
to start a development server and view your site.
Tutorial
For a step-by-step tutorial, see the “Using Multiple Themes Together” tutorial.