Currently only layouts/error.vue
is able to overwrite the error layout. I'd like to do this inside of a module with:
this.addLayout({
name:"error",
src: "path/to/custom/error.vue"
})
It would be helpful for module to developer to overwrite the error page on demand.
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This feature request is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c6850">#c6850</a>)</em></sub></div>