I was trying to install Application Insights into my Vue application and I ran into the following error:
Here is the code snippet that I used to try and initialise application insights into my app:
I have Vue 2.6.12.
import Skeleton from "vue-loading-skeleton";
import VueCookies from "vue-cookies";
import VueAppInsights from "vue-application-insights";
import Skeleton from "vue-loading-skeleton";
import VueCookies from "vue-cookies";
import VueAppInsights from "vue-application-insights";
require("./bootstrap");
require("./events.js");
require("./store/subscriber.js");
require("./constant.js");
import Vue from "vue";
axios.defaults.baseURL = window.apiUrl;
Vue.use(VueCookies);
Vue.use(Skeleton);
Vue.use(alert);
Vue.use(loading);
Vue.use(VueAppInsights, {
id: "<my_id>",
appInsightsConfig: {}
});
Object.keys(filters).forEach(key => {
Vue.filter(key, filters[key]);
});
require("./blade_component_list.js");
new Vue({
store
}).$mount("#app");
Hi!
I was trying to install Application Insights into my Vue application and I ran into the following error:
Here is the code snippet that I used to try and initialise application insights into my app: I have Vue 2.6.12. import Skeleton from "vue-loading-skeleton"; import VueCookies from "vue-cookies"; import VueAppInsights from "vue-application-insights";
Any ideas what is wrong? Thanks!