Home

Issue: 2685

How to customized nuxt-error.vue

[issue link]

Server error page render node_modules\nuxt\lib\app\components\nuxt-error.vue

node_modules\nuxt\lib\app\components\nuxt.js:3

import NuxtError from '<%= components.ErrorPage ? 
((components.ErrorPage.indexOf('~') === 0 || components.ErrorPage.indexOf('@') === 0)
 ?
 components.ErrorPage : "../" + components.ErrorPage) : "./nuxt-error.vue" %>'

i use

components:{
    ErrorPage:'~/components/ErrorPage'
  }

in nuxt.config.js

but it is still render nuxt-error.vue not my ErrorPage

This question is available on Nuxt.js community (#c2333)