Start on Vue 3 changes
This commit is contained in:
parent
dcc4784bfd
commit
c913a40e18
35 changed files with 3570 additions and 1913 deletions
|
|
@ -2,8 +2,8 @@ import cleaninsights from './cleaninsights.service'
|
|||
import matomo from './matomo.service'
|
||||
|
||||
export default {
|
||||
install(Vue) {
|
||||
const analyticsService = new Vue({
|
||||
install(app) {
|
||||
const analyticsService = ({
|
||||
data() {
|
||||
return {
|
||||
engines: [],
|
||||
|
|
@ -60,6 +60,8 @@ export default {
|
|||
}
|
||||
}
|
||||
});
|
||||
Vue.prototype.$analytics = analyticsService;
|
||||
|
||||
app.$analytics = analyticsService;
|
||||
app.config.globalProperties.$analytics = analyticsService;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue