import html from "html"; import { useAppStore } from "../store/index.js"; import { useI18n } from "vue-i18n"; import Icon from "../components/icon/index.js"; export default { components: { Icon }, template: html` `, setup() { const appStore = useAppStore(); const i18n = useI18n(); const changeLocale = (locale) => { appStore.localization.locale = locale; i18n.locale.value = locale; }; return { appStore, changeLocale, }; }, };