0๐
โ
As shown here, you can use fetchOnServer: false
.
<script>
export default {
async fetch() {
this.posts = await this.$http.$get('https://api.nuxtjs.dev/posts')
},
fetchOnServer: false,
}
</script>
Source:stackexchange.com