Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/nishantwrp/gridsome-source-hashnode-devblog
- Owner: nishantwrp
- License: mit
- Created: 2020-05-28T22:34:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-24T19:13:45.000Z (almost 4 years ago)
- Last Synced: 2024-12-04T06:37:34.162Z (19 days ago)
- Topics: devblog, gridsome, gridsome-plugin, hashnode
- Language: JavaScript
- Homepage: https://yarnpkg.com/package/gridsome-source-hashnode-devblog
- Size: 18.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gridsome-source-hashnode-devblog
Gridsome plugin to retrieve blog posts from your devblog on hashnode.
## 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