import html from "html"; import LayoutHeader from "./header.js"; import LayoutMenu from "./menu.js"; import LayoutTabs from "./tabs.js"; import LayoutFooter from "./footer.js"; import Icon from "../components/icon/index.js"; import { useAppStore } from "../store/index.js"; import { computed } from "vue"; export default { components: { Icon, LayoutHeader, LayoutMenu, LayoutTabs, LayoutFooter }, template: html` `, setup() { const appStore = useAppStore(); const isRefreshing = computed(() => appStore.isRefreshing); const path = computed(() => useRoute().matched[0].path); const items = computed(() => useRoute().matched[0].children); return { appStore, isRefreshing, path, items, }; }, };