@outsmartly/gatsby-plugin-outsmartly

0.0.74 • Public • Published

gatsby-plugin-outsmartly

The Outsmartly Gatsby plugin automatically integrates the Outsmartly SDK. It hooks into the compilation phase, client-side preloading, handles boilerplate code, and more.

Install

npm install --save @outsmartly/gatsby-plugin-outsmartly

Next, add '@outsmartly/gatsby-plugin-outsmartly' to the plugins array inside your gatsby-config.js:

gatsby-config.js
// Your file probably looks much more complex than this

module.exports = {
  plugins: ['@outsmartly/gatsby-plugin-outsmartly'],
  // etc...
};

Now we can initialize our project with Outsmartly:

npx outsmartly init

After following the prompts, you should now have a new outsmartly.config.js where you can add route Overrides and Interceptors.

Readme

Keywords

none

Package Sidebar

Install

npm i @outsmartly/gatsby-plugin-outsmartly

Weekly Downloads

1

Version

0.0.74

License

MIT

Unpacked Size

4.78 kB

Total Files

6

Last publish

Collaborators

  • andrewjazbec_os
  • hunter-outsmartly
  • xavieroutsmartly
  • sam-outsmartly
  • shalomvolchok
  • jacobeggers