🎨 Improving error system, fixing profile store, and more stuff

This commit is contained in:
ChatonDeAru
2024-10-04 01:21:45 +02:00
parent 4bc3a58b3e
commit 8f21d3d615
17 changed files with 664 additions and 133 deletions

View File

@@ -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
})
})