Skip to content

Commit d8d5b5a

Browse files
committed
docs: @vuepress/plugin-google-analytics
1 parent 15ccee3 commit d8d5b5a

File tree

4 files changed

+56
-18
lines changed

4 files changed

+56
-18
lines changed

Diff for: packages/@vuepress/plugin-google-analytics/README.md

+1-18
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
11
# @vuepress/plugin-google-analytics
22

3-
> google-analytics plugin for vuepress
4-
5-
## Usage
6-
7-
```javascript
8-
module.exports = {
9-
plugins: ['@vuepress/google-analytics']
10-
}
11-
```
12-
13-
## Options
14-
15-
### ga
16-
17-
- Type: `string`
18-
- Default: `undefined`
19-
20-
Provide the Google Analytics ID to enable integration.
3+
> Google analytics plugin for vuepress

Diff for: packages/docs/docs/.vuepress/config.js

+1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ function getPluginSidebar (pluginTitle, pluginIntro, officialPluginTitle) {
130130
'official/plugin-pwa',
131131
'official/plugin-blog',
132132
'official/plugin-pagination',
133+
'official/plugin-google-analytics',
133134
]
134135
}
135136
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# @vuepress/plugin-google-analytics
2+
3+
> Google analytics plugin for vuepress
4+
5+
## Install
6+
7+
```bash
8+
yarn add -D @vuepress/plugin-google-analytics
9+
# OR npm install -D @vuepress/plugin-google-analytics
10+
```
11+
12+
## Usage
13+
14+
```javascript
15+
module.exports = {
16+
plugins: ['@vuepress/google-analytics']
17+
}
18+
```
19+
20+
## Options
21+
22+
### ga
23+
24+
- Type: `string`
25+
- Default: `undefined`
26+
27+
Provide the Google Analytics ID to enable integration.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# @vuepress/plugin-google-analytics
2+
3+
> Google analytics plugin for vuepress
4+
5+
## Install
6+
7+
```bash
8+
yarn add -D @vuepress/plugin-google-analytics
9+
# OR npm install -D @vuepress/plugin-google-analytics
10+
```
11+
12+
## Usage
13+
14+
```javascript
15+
module.exports = {
16+
plugins: ['@vuepress/google-analytics']
17+
}
18+
```
19+
20+
## Options
21+
22+
### ga
23+
24+
- Type: `string`
25+
- Default: `undefined`
26+
27+
Provide the Google Analytics ID to enable integration.

0 commit comments

Comments
 (0)