Prevent to handle error pages by nuxt on `context.res.statusCode`
[issue link]I have a page with asyncData/fetch and need to set context.res.statusCode
(to 404,…) in some situtation.
(without using any context.callback
/context.error
)
Current behavior:
Nuxt renders error layout (like error/callback does).
Expected behavior:
Rendering current page with what statusCode
i set.
p.s: This issue may related to https://github.com/nuxt/nuxt.js/issues/2850