Questions tagged [vueuse]

Collection of Vue Composition Utilities

VueUse is a collection of utility functions based on Composition API. We assume you are already familiar with the basic ideas of Composition API before you continue.

45 questions
8
votes
4 answers

Nuxt3 + Pinia + VueUse -> useStorage() not working

Setup: I'm using Nuxt3 + Pinia + VueUse. Goal: I want to save a state of a pinia store to localstorage via VueUse: useStorage. Problem: For some reason no item is created in localstorage. I feel like I'm missing something here. In components I can…
Arrowcatch
  • 1,612
  • 3
  • 19
  • 26
3
votes
1 answer

How can i use vue-virtual-scroller with vue use useInfiniteScroll?

I'm currently working on implementing infinite scroll in a Vue application using the useInfiniteScroll function from @vueuse/core. However, I'm facing an issue with binding the ref to the scrollable element. The infinite scroll functionality is not…
1
vote
1 answer

Why does the VueUse useInfiniteScroll composable work in a Vue3 app, but not Nuxt3?

Can someone tell me why the page won't load more data when user scrolls to the bottom of the viewport? It doesn't seem to work in Nuxt3, but it works fine in Vue 3. Why? I am using the useInfiniteScroll composable from VueUse like so in a Nuxt3…
redshift
  • 4,815
  • 13
  • 75
  • 138
1
vote
1 answer

How do I embed A-Frame scene with videosphere and have it still be draggable within Vue?

A normal A-Frame scene allows you to drag the view around to look at anything you want to. For example: Vanilla JS (works) https://superb-swamp-deal.glitch.me/ However, when embedding basically the same scene within Vue/Quasar app the scene is no…
Tom M
  • 23
  • 3
1
vote
1 answer

watching vueuse's useElementVisibility changes is not working

I have a sample project at https://github.com/eric-g-97477-vue/vue-project This is a default vue project with vueuse installed. I modified the script and template part of HelloWorld.vue to be: