@noxify/gridsome-source-git

2.0.1 • Public • Published

gridsome-source-git

Source plugin for fetching data from a GIT repository. This source is based on the @gridsome/source-filesystem and includes all functionality which is available in the @gridsome/source-filesystem.

This is a port from Gatsby: https://github.com/stevetweeddale/gatsby-source-git But extended to enable the clone of private git repositories.

Install

npm install --s @noxify/gridsome-source-git

How to use

module.exports = {
  plugins: [
    {
      use: '@noxify/gridsome-source-git',
      options: {
        remote: 'https://github.com/noxify/test.git',
        target: 'git-source/noxify-test/',
        typeName: 'GitPost',
        route: '/gitpost/:id'
      }
    }
  ]
}

Documentation

You can find the complete documentation here: https://webstone.info/documentation/gridsome-source-git

Package Sidebar

Install

npm i @noxify/gridsome-source-git

Weekly Downloads

2

Version

2.0.1

License

MIT

Unpacked Size

10.9 kB

Total Files

4

Last publish

Collaborators

  • noxify