Static GitHub Issues

[172] Layout specification for error pages

prev: Work with vue-awesome
next: Setting head data from ajax request on page.

Hi there. I want my error page to have a layout separate from the default site layout. It seems to use the default layout by default. I've tried to specify layout directly in layouts/error.vue script section, but it doesn't seem to work.

<!--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/c144">#c144</a>)</em></sub></div>