nuxt-community / nuxt-property-decorator

Property decorators for Nuxt (base on vue-property-decorator)
https://github.com/kaorun343/vue-property-decorator
MIT License
400 stars 34 forks source link

Add support for fetchDelay as a function #97

Closed FaitAccompli closed 2 years ago

FaitAccompli commented 2 years ago

Description

This PR adds support for the fetchDelay option for Nuxt (https://nuxtjs.org/api/pages-fetch/#options).

Note: This hook only seems to work as a function, same as #72 , and not when assigned an integer value. I'll update the PR if there are any comments.

Resolves #96