fix: refactoring and error handling

This commit is contained in:
DecDuck
2025-02-20 21:19:54 +11:00
parent 17f4f903d3
commit 84065f34ca
12 changed files with 577 additions and 248 deletions
+3
View File
@@ -1,8 +1,11 @@
export default defineNuxtPlugin((nuxtApp) => {
// Also possible
/*
nuxtApp.hook("vue:error", (error, instance, info) => {
console.error(error, info);
const router = useRouter();
router.replace(`/error`);
});
*/
});