refactor: migrate to nuxt compatibilityVersion: 4 (#3298)
This commit is contained in:
parent
46e4433e1c
commit
a3fbc056a9
342 changed files with 1200 additions and 2932 deletions
14
app/components/common/OfflineChecker.vue
Normal file
14
app/components/common/OfflineChecker.vue
Normal file
|
@ -0,0 +1,14 @@
|
|||
<script setup lang="ts">
|
||||
const online = useOnline()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
v-if="!online"
|
||||
w-full min-h-30px px4 py3 text-primary bg-base
|
||||
border="t base" flex="~ gap-2 center"
|
||||
>
|
||||
<div i-ri:wifi-off-line />
|
||||
{{ $t('common.offline_desc') }}
|
||||
</div>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue