You've already forked AstralRinth
forked from didirus/AstralRinth
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>
This commit is contained in:
5
apps/frontend/src/plugins/error-handling.ts
Normal file
5
apps/frontend/src/plugins/error-handling.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.hook('app:error', (error: any) => {
|
||||
console.error('An error occurred:', error)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user