Skip to content

Commit 5b0bec5

Browse files
committed
fix GA
1 parent d8991bb commit 5b0bec5

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

Diff for: .vuepress/config.js

+1-8
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,7 @@ module.exports = {
1212
['meta', { name: 'msapplication-TileColor', content: '#000000' }],
1313
['meta', { name: 'google-site-verification', content: 'MhRI5GLxQJ9Oirgo_krVXPsVNaJ-2qqGTRuMkLjherw' }]
1414
],
15-
plugins: [
16-
[
17-
'@vuepress/google-analytics',
18-
{
19-
'ga': 'UA-143051534-1'
20-
}
21-
]
22-
],
15+
ga: 'UA-143051534-1',
2316
themeConfig: {
2417
repo: 'vuefront/vuefront',
2518
editLinks: true,

Diff for: package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
"webpack-dev-middleware": "3.6.0"
1313
},
1414
"dependencies": {
15-
"@vuepress/plugin-google-analytics": "^1.0.2",
1615
"vuepress": "^0.14.11",
1716
"webpack-dev-middleware": "3.6.0",
1817
"webpack-dev-server": "^3.3.1"
1918
},
2019
"devDependencies": {
2120
"vuepress": "^0.14.11"
2221
}
23-
}
22+
}

Diff for: yarn.lock

-5
Original file line numberDiff line numberDiff line change
@@ -783,11 +783,6 @@
783783
source-map "~0.6.1"
784784
vue-template-es2015-compiler "^1.9.0"
785785

786-
"@vuepress/plugin-google-analytics@^1.0.2":
787-
version "1.0.2"
788-
resolved "https://registry.yarnpkg.com/@vuepress/plugin-google-analytics/-/plugin-google-analytics-1.0.2.tgz#c5754d55d01bf7e1a9a5b1ff5fde07a08e4a797d"
789-
integrity sha512-NdU18hTBW4TkNK80dgpPu4yq/smNkIUZi9gL5hCiuW43BnXFA7WFfhGcvZJ61+keNDr6gw9UIv4HQuFFPoRXQA==
790-
791786
"@webassemblyjs/[email protected]":
792787
version "1.8.5"
793788
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359"

0 commit comments

Comments
 (0)