0👍
Can you test it? sample:
const state = reactive({ columns: computed(() => yourstore })
// do not need to call fetch because this hook is a function
useFetch(async () => { await store.dispatch(url) })
return {
...toRefs(state),
}
- [Vuejs]-Vuejs transition javascript hook not triggering (nuxtjs)
- [Vuejs]-SetTimeout not working on vue.js application
Source:stackexchange.com