mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Client Analytics (#9023)
* start to refactor analytics and some mixins * wip * wip * wip * more analytics * more analytics * more anlytics * fix analytics module * finish analytics * fix env * vue casing
This commit is contained in:
@@ -4,6 +4,7 @@ require('babel-polyfill');
|
||||
|
||||
import Vue from 'vue';
|
||||
import AppComponent from './app';
|
||||
import { setup as setupAnalytics } from 'client/libs/analytics';
|
||||
import router from './router';
|
||||
import getStore from './store';
|
||||
import StoreModule from './libs/store';
|
||||
@@ -26,6 +27,8 @@ Vue.config.productionTip = IS_PRODUCTION;
|
||||
Vue.use(i18n, {i18nData: window && window['habitica-i18n']});
|
||||
Vue.use(StoreModule);
|
||||
|
||||
setupAnalytics();
|
||||
|
||||
export default new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
|
||||
Reference in New Issue
Block a user