help: How to use 'this.$nuxt.refresh()'
See original GitHub issue📚 What are you trying to do? Please describe.
A clear and concise description of your objective. Ex. I’m not sure how to […].
composition-api how use this.$nuxt.refresh()
https://nuxtjs.org/docs/2.x/internals-glossary/$nuxt#refreshing-page-data
🔍 What have you tried? Have you looked through the docs? Tried different approaches? The more detail the better. The related document was not found
ℹ️ Additional context Add any other context or information. Is there a missing description ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
$nuxt: The Nuxt helper
Refreshing page data. refresh(). When you want to only refresh the data provided by asyncData or fetch. example.vue <template> <div> <div>{{ content }} ......
Read more >How can I refresh the whole page on link visit in NuxtJS?
If you want to refresh the page manually you can call - this.$router.app.refresh().
Read more >this. nuxt refresh Code Example - Code Grepper
To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
Read more >refreshNuxtData · Nuxt Utils
Refresh All data. This example below refreshes all data being fetched using useAsyncData and useFetch on the current page. pages/some-page.vue
Read more >[Nuxt 3] How the data fetching ( and refreshing ) is supposed ...
e.g. when using useAsyncData, the first parameter is "key" that controls the cache: const { data } = await useAsyncData('count', () => $fetch('/ ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can get $nuxt with:
No problem code: