Static GitHub Issues

[2685] How to customized nuxt-error.vue

prev: ✨ Webpack 4 upgrade
next: Is it possible to recall actions from asyncData?

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

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2333">#c2333</a>)</em></sub></div>