Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zsobral/gatsby-source-pokedex
https://github.com/zsobral/gatsby-source-pokedex
gatsby gatsby-plugin gatsby-source pokemon
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zsobral/gatsby-source-pokedex
- Owner: zsobral
- License: mit
- Created: 2019-05-11T06:17:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T21:45:35.000Z (almost 2 years ago)
- Last Synced: 2024-04-26T07:20:17.629Z (7 months ago)
- Topics: gatsby, gatsby-plugin, gatsby-source, pokemon
- Language: JavaScript
- Size: 21.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gatsby-source-pokedex
First gen pokedex source plugin
## Install
`npm i --save gatsby-source-pokedex`
## How to use
```js
// gatsby-config.jsmodule.exports = {
plugins: [
`gatsby-source-pokedex`
]
}
``````graphql
query {
allPokemon {
nodes {
number
name
type
base {
HP
Attack
Defense
Sp__Attack
Sp__Defense
Speed
}
image {
childImageSharp {
fixed(width: 125, height: 125, quality: 100) {
...GatsbyImageSharpFixed_withWebp
}
}
}
}
}
}
```