gatsby-plugin-dataunlocker

1.0.1 • Public • Published

gatsby-plugin-dataunlocker

Node.js package Package version

DataUnlocker integration with Gatsby-powered websites.

This means each time your website is built, DataUnlocker's script is injected automatically. You don't need to manually inject DataUnlocker's script, but you still need to create proxy endpoints in DataUnlocker Admin Console.

Usage

Add gatsby-plugin-dataunlocker to your project with:

npm install gatsby-plugin-dataunlocker

Now in your gatsby-config.js, use the following:

module.exports = {
  plugins: [
    {
      resolve: 'gatsby-plugin-dataunlocker',
      options: {
        propertyId: '6751714b4c5980736a4b6aaa', // Required. Your DataUnlocker property ID.
        scriptVersion: 'latest', // Optional. Use 'latest' or a specific script version like '3.0.3'.
      },
    },
  ],
};

License

MIT © DataUnlocker

Dependencies (4)

Dev Dependencies (4)

Package Sidebar

Install

npm i gatsby-plugin-dataunlocker

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

6.72 kB

Total Files

4

Last publish

Collaborators

  • dataunlocker