You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
491 B
31 lines
491 B
<template>
|
|
<div class="home">
|
|
<img src="" alt=""></img>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup name="Home">
|
|
import { onMounted } from 'vue';
|
|
import { useRouter } from 'vue-router';
|
|
|
|
const router = useRouter()
|
|
onMounted(()=>{
|
|
setTimeout(()=>{
|
|
router.push('/news')
|
|
},3000)
|
|
}
|
|
)
|
|
|
|
|
|
</script>
|
|
|
|
<style>
|
|
.home{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
background-color: #f5f5f5;
|
|
color: #333;
|
|
}
|
|
</style>
|