Skip to content

Commit

Permalink
update readme with content
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor Wilson committed Nov 13, 2018
1 parent 3297d96 commit 92ac532
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
@@ -1 +1,25 @@
# gatsby-source-cat-facts

```
yarn add gatsby-source-cat-facts
```

Want Cat Facts ([source](https://alexwohlbruck.github.io/cat-facts/)) 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!

🐈

0 comments on commit 92ac532

Please sign in to comment.