0👍
this.$nuxt.reload()
was the thing. Not sure if it exists in Vue itself.
- [Vuejs]-Vuejs | Create intermediate component that uses one of the props and propagate all remaining stuff to <button> element
- [Vuejs]-Property or method "buscador" is not defined on the instance but referenced during render. Vue js
0👍
I think that Nuxt 3 has a way to do just that which is refreshNuxtData.
the docs says :
refreshNuxtData re-fetches all data from the server and updates the page as well as invalidates the cache of useAsyncData , useLazyAsyncData, useFetch and useLazyFetch.
Source:stackexchange.com