Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nishantwrp/gridsome-source-hashnode-devblog

Gridsome plugin to retrieve blog posts from your devblog on hashnode.
https://github.com/nishantwrp/gridsome-source-hashnode-devblog

devblog gridsome gridsome-plugin hashnode

Last synced: 2 days ago
JSON representation

Gridsome plugin to retrieve blog posts from your devblog on hashnode.

Awesome Lists containing this project

README

        



gridsome logo

gridsome-source-hashnode-devblog



Gridsome plugin to retrieve blog posts from your devblog on hashnode.



npm version
npm

## Installation

```
# For npm
$ npm install gridsome-source-hashnode-devblog
# For yarn
$ yarn add gridsome-source-hashnode-devblog
```

## Usage

Add `gridsome-source-hashnode-devblog` to plugin array with following configurable options to `gridsome.config.js`

```js
module.exports = {
plugins: [
{
use: 'gridsome-source-hashnode-devblog',
options: {
username: '', // Your username on hashnode without `@`.
typeName: 'DevblogPost' // Optional
}
}
]
}
```

## Example Query

```graphql
query {
allDevblogPost {
edges {
node {
title
slug
type
dateAdded
contentMarkdown
brief
coverImage
tags {
name
}
dateUpdated
}
}
}
}
```

## License (MIT)

Open [LICENSE](./LICENSE) file for more info