🐈 Because you want facts about cats in your Gatsby site.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc
.gitignore
.npmignore
README.md
index.js
package.json

README.md

gatsby-source-cat-facts

yarn add gatsby-source-cat-facts

Want Cat Facts (source) in your Gatsby app? Yes, obviously we all do.

Install this package, and add 'gatsby-source-cat-facts' to your plugins array in gatsby-config.js. Run gatsby develop, head to the GraphiQL IDE and run:

{
   allCatFacts {
    catFacts: edges {
      catFact: node {
        text
      }
    }
  }
}

Look! Cat Facts!

🐈