mirror of
https://github.com/analyticsjs/vue-baidu-analytics.git
synced 2025-04-06 03:58:00 +08:00
23 lines
433 B
JavaScript
23 lines
433 B
JavaScript
import Vue from 'vue'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
|
|
import baiduAnalytics from '@lib/vue-baidu-analytics'
|
|
|
|
Vue.use(baiduAnalytics, {
|
|
router: router,
|
|
siteIdList: [
|
|
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
|
|
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb',
|
|
'cccccccccccccccccccccccccccccccc'
|
|
],
|
|
debug: true
|
|
});
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
new Vue({
|
|
router,
|
|
render: h => h(App)
|
|
}).$mount('#app')
|