Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

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',
    // ...
  ],
  //..
}
© 2023 Gatsby, Inc.