Files
AstralRinth/apps/frontend/src/plugins/error-handling.ts
Cal H. 3e735b99eb feat: frontend explicit imports + error page fix (#4184)
* feat: frontend explicit imports

* fix: error handling

* fix: dashboard missing import

* fix: error page issues

* fix: exclude RouterView

* feat: fix lint issues

* fix: lint issues

* fix: import issues

* add getVersionLink

* make articles.json use tabs on generation so it doesn't have to be reformatted

* fix: lint issues

---------

Signed-off-by: Cal H. <hendersoncal117@gmail.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2025-08-17 11:15:49 +00:00

6 lines
144 B
TypeScript

export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.hook('app:error', (error: any) => {
console.error('An error occurred:', error)
})
})