How to install and use builder plugin

Hi all,

Im trying to install and use this plugin for my builder site. And added the configuration inside the gatsby-config.js
and changed my page model query like below

but when building or running dev version I get the following error with the page query change.

What am I missing here?

Hi @shehan , try making the models array in the gatsby-config class cased [start with a capital letter]:

      resolve: "",
      options: {
        models: ['Page', 'BlogArticle', 'Recipe'] , // Class case
        replaceLinksToStatic: true,

Hey @aziz,

That did it. Wonder why that is. But thank you for the quick response and help. :slight_smile: