mkdir my-site
cd my-site
yarn init
# install gatsby-theme-boomerang and it's dependencies
yarn add gatsby react react-dom gatsby-theme-boomerang
Then add the theme to your gatsby-config.js
. We'll use the long-form
here for educational purposes.
module.exports = {
plugins: [
{
resolve: "gatsby-theme-boomerang",
options: {},
},
],
}
That's it, you can now run your gatsby site using
yarn gatsby develop
You can use this as a place to start when developing themes. I
generally suggest using yarn
workspaces like the
gatsby-theme-examples repo
does,
but using yarn link
or npm link
is a viable alternative if you're
not familiar with workspaces.