error.vue not shown if using npm run generate

When using "npm run generate" it does not show my 404 page. It only shows a blank page. Is this a common issue, or do i need something in my config like in nuxt 2 you could place
fallback:true
in the nuxt.config
Was this page helpful?