0👍
You need to use Ref
declaration from @vue/reactivity/dist/reactivity.d.ts
to declare the type left of assignment.
You have imported it but not used it (not sure if you need to even import it in Nuxt?):
import { Ref } from 'vue'
const showModel: Ref<boolean> = ref(false)
- [Vuejs]-How to Integrate Leaflet with Mapbox GL In vuejs
- [Vuejs]-Trying to use Virtual Scroller in Vue 3 But the items are buffering
Source:stackexchange.com