Skip to content
WordPress.com Source for Gridsome
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
index.js
package.json

README.md

gridsome-source-wordpress-com

WordPress.com Source for Gridsome. Based on @gridsome/source-wordpress.

Install

  • npm install git+https://github.com/iamthismarvin/gridsome-source-wordpress-com.git

Usage

module.exports = {
  plugins: [
    {
      use: "gridsome-source-wordpress-com",
      options: {
        baseUrl: "WEBSITE_URL", // required
        apiBase: "wp-json",
        typeName: "WordPress",
        perPage: 100,
        concurrent: 10,
        routes: {
          post: "/:year/:month/:day/:slug",
          post_tag: "/tag/:slug"
        }
      }
    }
  ]
};
You can’t perform that action at this time.