mirror of
https://github.com/analyticsjs/vue-baidu-analytics.git
synced 2025-04-06 03:58:00 +08:00
Update demo and some config
This commit is contained in:
parent
676df4906b
commit
8179ef8425
@ -7,9 +7,9 @@ import baiduAnalytics from '@lib/vue-baidu-analytics'
|
|||||||
Vue.use(baiduAnalytics, {
|
Vue.use(baiduAnalytics, {
|
||||||
router: router,
|
router: router,
|
||||||
siteIdList: [
|
siteIdList: [
|
||||||
'7d6465217b1b44018c4557d9e7d804eb',
|
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
|
||||||
'4cacea1098b6c4d16990a04abd93c9a9',
|
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb',
|
||||||
'5be8daec4f7dd86255ae9320369c7678'
|
'cccccccccccccccccccccccccccccccc'
|
||||||
],
|
],
|
||||||
debug: true
|
debug: true
|
||||||
});
|
});
|
||||||
|
@ -28,8 +28,8 @@ const routes = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
base: process.env.NODE_ENV === 'production' ? location.pathname.split('/').slice(0, 2).join('/') : '/',
|
// base: process.env.NODE_ENV === 'production' ? location.pathname.split('/').slice(0, 2).join('/') : '/',
|
||||||
mode: 'history',
|
// mode: 'history',
|
||||||
linkActiveClass: 'cur',
|
linkActiveClass: 'cur',
|
||||||
linkExactActiveClass: 'cur',
|
linkExactActiveClass: 'cur',
|
||||||
routes
|
routes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user