chore: try

This commit is contained in:
Shivam Mishra
2024-10-08 13:53:58 +05:30
parent 0b8df762f9
commit 0830ad78b6
2 changed files with 16 additions and 3 deletions
@@ -27,13 +27,25 @@ export default {
},
},
created() {
console.log('PRIMARY NAV ITEM', this.name, this.$t(`SIDEBAR.${this.name}`));
console.log(
'CREATED: PRIMARY NAV ITEM',
this.name,
this.$t(`SIDEBAR.${this.name}`)
);
},
beforeMount() {
console.log('PRIMARY NAV ITEM', this.name, this.$t(`SIDEBAR.${this.name}`));
console.log(
'BEFORE MOUNT: PRIMARY NAV ITEM',
this.name,
this.$t(`SIDEBAR.${this.name}`)
);
},
mounted() {
console.log('PRIMARY NAV ITEM', this.name, this.$t(`SIDEBAR.${this.name}`));
console.log(
'MOUNTED: PRIMARY NAV ITEM',
this.name,
this.$t(`SIDEBAR.${this.name}`)
);
},
};
</script>
+1
View File
@@ -101,6 +101,7 @@ sync(store, router);
// load common helpers into js
commonHelpers();
window.WOOT_STORE = store;
window.dashboardApp = app;
window.WootConstants = constants;
window.axios = createAxios(axios);
// [VITE] Disabled this we don't need it, we can use `useEmitter` directly