45 lines
839 B
Vue
45 lines
839 B
Vue
<template>
|
|
<router-view :key="$route.fullPath"></router-view>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapActions } from "pinia";
|
|
import {clearBodyClass} from "@manuals/utilities"
|
|
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
userLastStateIsLoaded: true,
|
|
modalComponentName: "",
|
|
actionMode: 1,
|
|
};
|
|
},
|
|
|
|
methods: {
|
|
...mapActions(["setBodyClass", "getState"]),
|
|
},
|
|
|
|
beforeCreate() {
|
|
ApiService.init(import.meta.env.VITE_LIST_BASE_URL);
|
|
},
|
|
beforeMount() {
|
|
clearBodyClass();
|
|
},
|
|
mounted() {
|
|
this.setBodyClass(import.meta.env.VITE_CHAT_SYSTEM);
|
|
document.title = import.meta.env.VITE_CHAT_PAGE_TITLE;
|
|
},
|
|
destroyed() {
|
|
clearBodyClass();
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
/*@import "../assets/tahrir/scss/tahrir";*/
|
|
@import "../../assets/chat/scss/chat";
|
|
//@import '/animate.css';
|
|
|
|
</style>
|