Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 474 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 474 Bytes

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!

🐈