gatsby-source-cat-facts

0.0.3 • Public • Published

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!

🐈

Package Sidebar

Install

npm i gatsby-source-cat-facts

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

2.73 kB

Total Files

5

Last publish

Collaborators

  • cwlsn