mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-13 08:12:40 +10:00
update to nuxt 4
This commit is contained in:
5
app/plugins/error-handler.ts
Normal file
5
app/plugins/error-handler.ts
Normal file
@ -0,0 +1,5 @@
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.hook("vue:error", (error, instance, info) => {
|
||||
console.error(info, error, instance);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user