gatsby-source-revue

1.0.2 • Public • Published

Revue API Client

Getting Started

yarn add gatsby-source-revue

Setting Up

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: "gatsby-source-revue",
      options: {
        token: process.env.REVUE_TOKEN,
      },
    },
  ],
};

Querying

import { graphql } from "gatsby";

export const pageQuery = graphql`
  query RevueIssues {
    allRevueIssue {
      nodes {
        title
        html
        sent_at
        description
        url
        active
      }
    }
  }
`;

Hiring

Uplift is hiring! Work on fun projects with us! Apply

Readme

Keywords

Package Sidebar

Install

npm i gatsby-source-revue

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

9.29 kB

Total Files

15

Last publish

Collaborators

  • mariusc23