feat(frontend): Get project running again after move to Mac Mini
This commit is contained in:
9
legalconsenthub/plugins/error-handler.ts
Normal file
9
legalconsenthub/plugins/error-handler.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.hook('vue:error', (error, instance, info) => {
|
||||
console.error('Vue error:', error, 'Instance:', instance, 'Info:', info)
|
||||
})
|
||||
|
||||
nuxtApp.hook('app:error', (error) => {
|
||||
console.error('App error:', error)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user