NuxtN
Nuxt3y ago
oemer

How to ignore an error in a nuxtApp.hook?

nuxtApp.hook("vue:error", (err: any) => {
    if (err?.message?.startsWith("No match for")) {
        // ignore error
    }
  })
Was this page helpful?