@gracefullight/docusaurus-plugin-google-adsense
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@gracefullight/docusaurus-plugin-google-adsense

This Docusaurus plugin adds support for Google AdSense on your website.

Installation

You can install this plugin via pnpm:

pnpm add @gracefullight/docusaurus-plugin-google-adsense

Usage

To use this plugin, you will need to configure it in your Docusaurus docusaurus.config.js file. You can add the following configuration to enable the plugin:

module.exports = {
  plugins: [
    [
      "@gracefullight/docusaurus-plugin-google-adsense",
      { adClient: "YOUR_AD_CLIENT" },
    ],
  ],
};

You need to replace "YOUR_AD_CLIENT" with your own AdSense client ID.

Package Sidebar

Install

npm i @gracefullight/docusaurus-plugin-google-adsense

Weekly Downloads

24

Version

1.0.0

License

MIT

Unpacked Size

6.24 kB

Total Files

10

Last publish

Collaborators

  • gracefullight