0.2.0 • Published 5 years ago

@luciannojunior/gatsby-transformer-pages-json v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

gatsby-transformer-pages-json

Transforms JSON objects into Page and Menu data to be used in gatsby-theme-lodge

WIP ALERT: I'm still building this architecture and it will change overtime. The page creation is stil being done in the theme side but we will probably overcome this issue.

Install

yarn add gatsby-transformer-json-key-value-to-array

How to use

In your gatsby-config.js:

module.exports = {
  plugins: [
    `gatsby-transformer-pages-json`,
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        path: `./i/data/`,
      },
    },
  ],
}
0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago