for (const fn of this.postprocess) {
data = fn(data)
}
if (!data) {
throw new Error(`${this.path} not found`)
}
return JSON.parse(JSON.stringify(data))
}
}
_slug.vue:30:
asyncData
.nuxt/utils.js:281:
promisify
data = data || {}
resolve(data)
})
})
} else {
promise = fn(context)
}
if (promise && promise instanceof Promise && typeof promise.then === 'function') {
return promise
}