1.0.2 • Published 3 years ago

gatsby-source-revue v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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