Skip to content

timbenniks/gridsome-source-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gridsome-source-example

This is an example Gridsome source plugin

It uses Harry Potter data to create a Gridsome collection.

Check out tutorial video here: https://www.youtube.com/watch?v=V50mHzzFFaA

Visit https://timbenniks.nl for more.

Implementation

In gridsome.client.js:

module.exports = {
  siteName: "Harry Potter",
  plugins: [
    {
      use: "gridsome-source-harrypotter",
      options: {
        endpoint_url: "http://hp-api.herokuapp.com/api/characters",
      },
    },
  ],
  templates: {
    Character: [
      {
        path: "/:id",
      },
    ],
  },
};

About

This is an example Gridsome source plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published