1.0.3 • Published 1 year ago
vuepress-plugin-google-adsense2 v1.0.3
vuepress-plugin-google-adsense2
English | 简体中文
Note: This plugin is provided for VuePress 2
Google adsense plugin for VuePress 2, automatically add Google Ad to your VuePress site.
Install
yarn add -D vuepress-plugin-google-adsense2
# OR
npm install -D vuepress-plugin-google-adsense2
Usage
import googleAdSensePlugin from 'vuepress-plugin-google-adsense2';
module.exports = {
plugins: [
googleAdSensePlugin({
id: 'ca-pub-xxxxxxx',
}),
],
};
More plugins usage, see also: VuePress Plugins
Options
id
Type:
string
Details:
In the code block provided to you by AdSense, find the word
data-ad-client
. Theid
should start with'ca-pub-'
. You can follow the instructions here to find your AdSense code.Or you can use Publisher ID and add the string
'ca-'
in front.You can follow the instructions here to find your Publisher ID.
1.0.3-beta.2
1 year ago
1.0.3-beta.1
1 year ago
1.0.3-beta.4
1 year ago
1.0.3-beta.3
1 year ago
1.0.3
1 year ago
1.0.3-beta.0
3 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago