nuxt-community / nuxt-property-decorator

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

feat: Add support for fetchDelay as a function #98

Open FaitAccompli opened 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).

Just like #72 , this hook only seems to work as a function, and not when assigned an integer value directly. I will update this PR accordingly based on the comments you might have.

Resolves #96