Skip to main content
Community Plugin
View plugin on GitHub
See starters using this

gatsby-source-squidex

Install

# with npm
npm install --save gatsby-source-squidex

# or with Yarn
yarn add gatsby-source-squidex

How to use

Create a .env (or .env.development) file in the root directory of your project. For example:

API_URI=https://cloud.squidex.io/api/content/ecommerce-template/
TOKEN_URI=https://cloud.squidex.io/identity-server/connect/token
CLIENT_ID=ecommerce-template:default
CLIENT_SECRET=7E/kxcl1ooyd4A3bs3hkzmP6o/x5pfm3VaV3X0fFaeg=
END_POINT=products

In your gatsby-config.js:

module.exports = {
  // ...
  plugins: [
    // ...
    'gatsby-source-squidex',
    // ...
  ],
  //..
}