feat: nuxt basics
This commit is contained in:
1 parent
51df03a76c
commit
f1468ede1a
17 files changed
+243
-21
No files matched your search
@@ -0,0 +1,10 @@
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.vueApp.config.errorHandler = (error, instance, info) => {
|
||||
// handle error, e.g. report to a service
|
||||
}
|
||||
|
||||
// Also possible
|
||||
nuxtApp.hook('vue:error', (error, instance, info) => {
|
||||
// handle error, e.g. report to a service
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user