Files
myprojplanet_vite/src/rootgen/sito_offline/sito_offline.ts

26 lines
478 B
TypeScript
Raw Normal View History

import { computed, defineComponent, onMounted, ref } from 'vue'
import { tools } from '@store/Modules/tools'
import { useRouter } from 'vue-router';
2021-08-31 18:09:59 +02:00
export default defineComponent({
name: 'sito_offline',
setup() {
const $router = useRouter()
onMounted(() => {
});
const checkStatus = () => {
// Logica per controllare lo stato del servizio (opzionale)
$router.replace('/')
};
return {
checkStatus,
tools,
};
2021-08-31 18:09:59 +02:00
},
})