1.3.2 • Published 4 years ago

gatsby-plugin-fonts-com v1.3.2

Weekly downloads
1,478
License
MIT
Repository
github
Last release
4 years ago

gatsby-plugin-fonts-com

Heads up: this plugin currently does not import fonts to your project. It only adds scripts to track webfont usage (required according to your subscription).

Add Fonts.com webfont usage tracking script to your Gatsby site.

Install

npm install --save gatsby-plugin-fonts-com

How to use

TODO: clearer documentation

// In your gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: 'gatsby-plugin-fonts-com',
      options: {
        projectId: 'YOUR_WEBFONT_PROJECT_ID',
        // Optional. Disables tracking during gatsby develop. Defaults to true.
        enableDuringDevelop: false,
      },
    }
    'your',
    'other',
    'plugins',
  ],
}

Restart your Gatsby server for the plugin to take effect.

If you have improvements that you’d like to see, or encounter any bugs, feel free to create an issue!

1.3.2

4 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago