fix: refactoring and error handling

This commit is contained in:
DecDuck
2025-02-20 21:19:54 +11:00
parent cdcd69391d
commit 639d3b4630
12 changed files with 577 additions and 248 deletions

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`);
});
*/
});