Package Exports
- @gracefullight/docusaurus-plugin-google-adsense
- @gracefullight/docusaurus-plugin-google-adsense/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gracefullight/docusaurus-plugin-google-adsense) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@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-adsenseUsage
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.