Set up a nuxt project with Vuetify. One of the pages uses a client-only (no-ssr) component. During development, in case of an error in this component, I get redirected to the default error page, which prevents me from inspecting the variables and components using Vue devtools. 
I feel like it should be really simple but I couldn't find a way to disable this auto redirecting behavior. So I guess my question is how do you disable nuxt default error redirection?
I found a hack with a nuxt plugin :
./plugins/errors.js
export default function({ app }) {
  app.nuxt.error = () => {}
}
./nuxt.config.js
module.exports = {
  ...
  plugins: [
    "~/plugins/errors.js",
  ],
}
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With