feat: add google analytics
This commit is contained in:
parent
96faec2b20
commit
254d4882cf
@ -34,6 +34,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</transition>
|
||||
<GA></GA>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -65,6 +65,8 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<GA></GA>
|
||||
|
||||
<slot name="bottom"/>
|
||||
</main>
|
||||
</template>
|
||||
|
5
index.js
5
index.js
@ -22,6 +22,7 @@ module.exports = (options, ctx) => ({
|
||||
'@vuepress-reco/loading-page',
|
||||
'@vuepress-reco/pagation',
|
||||
'@vuepress-reco/screenfull',
|
||||
'@vuepress-reco/ga',
|
||||
'@vuepress/active-header-links',
|
||||
['@vuepress/plugin-blog', {
|
||||
permalink: '/:regular',
|
||||
@ -39,8 +40,8 @@ module.exports = (options, ctx) => ({
|
||||
path: '/categories/',
|
||||
layout: 'Categories',
|
||||
scopeLayout: 'Category'
|
||||
},
|
||||
],
|
||||
}
|
||||
]
|
||||
}],
|
||||
'@vuepress/search',
|
||||
'@vuepress/plugin-nprogress',
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vuepress-theme-reco",
|
||||
"version": "1.0.9-alpha.8",
|
||||
"version": "1.0.9-alpha.11",
|
||||
"description": "this is a vuepress theme",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@ -30,6 +30,7 @@
|
||||
"@vuepress-reco/vuepress-plugin-loading-page": "^1.0.0",
|
||||
"@vuepress-reco/vuepress-plugin-pagation": "^1.0.3",
|
||||
"@vuepress-reco/vuepress-plugin-screenfull": "^1.0.0",
|
||||
"@vuepress-reco/vuepress-plugin-ga": "^1.0.2",
|
||||
"@vuepress/plugin-blog": "1.3.0",
|
||||
"leancloud-storage": "3.13.2",
|
||||
"valine": "1.3.6",
|
||||
|
Loading…
Reference in New Issue
Block a user