0.3.1 • Published 2 years ago
docusaurus-plugin-google-adsense v0.3.1
docusaurus-plugin-google-adsense
This plugin is for Docusaurus v2.
Usage
Run yarn add -D docusaurus-plugin-google-adsense
.
Modify docusaurus.config.js
:
module.exports = {
//...
themeConfig: {
//...
googleAdsense: {
dataAdClient: 'ca-pub-xxxxxxxxxx',
},
},
plugins: ['docusaurus-plugin-google-adsense'],
};
Publish
npm login
npm publish