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
```js
components:{
ErrorPage:'~/components/ErrorPage'
}
````
in nuxt.config.js
but it is still render nuxt-error.vue not my ErrorPage
Just ErrorPage, no components is fine.
// nuxt.config.js
module.exports = {
ErrorPage:'~/components/ErrorPage'
}
@clarkdo
// nuxt.config.js
module.exports = {
ErrorPage:'~/components/ErrorPage'
}
this config will cover layout/error.vue ,like 404 error, and nuxt-error.vue still render on server error.
i want customized only node server error,like this

@ac88 did you find a solution for this?
@SalvadorDuran I haven't done yet
I'll look into it today, I'm interested too! :)
Customize "client-side" error template:
layouts/error.vue fileCustomize "server-side" error template:
(See https://blog.lichter.io/posts/change-the-nuxtjs-server-error-page/ )
error.html file under: app/views/This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
@clarkdo
this config will cover
layout/error.vue,like 404 error, and nuxt-error.vue still render on server error.i want customized only node server error,like this