Skip to content

tarwin/gridsome-source-directus9

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gridsome-source-directus9

Based on https://github.com/avatarbabe/gridsome-source-directus9, updated to work differently with images Based on https://github.com/peXed/gridsome-source-directus, updated to support Directus 9

Basic usage:

Since this package is not (yet) published on npm, just clone the repo and add it to your package.json file:

{
  "dependencies": {
    "gridsome-source-directus9": "path/to/cloned/project/folder",
  },
}

Add this in your gridsome.config.js:

module.exports = {
  plugins: [
    {
      use: "gridsome-source-directus9",
      options: {
        ...
        collections: [
          {
            name: "articles",
            fields: "*",
            downloadImages: true
          },
          ...
        ],
      },
    },
  ],

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%