From 3d104545d40af599e0af1474e5b25b8836bda513 Mon Sep 17 00:00:00 2001 From: Wilson Date: Wed, 28 Aug 2024 21:23:05 +0800 Subject: [PATCH] fix: missing vue special method --- src/migrator/config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/migrator/config.ts b/src/migrator/config.ts index 054a561..0f9da65 100644 --- a/src/migrator/config.ts +++ b/src/migrator/config.ts @@ -16,6 +16,7 @@ export const vueSpecialMethods = [ 'activated', 'deactivated', 'serverPrefetch', + 'beforeDestroy', 'destroyed', ]; // Vue methods that won't be included under methods: {...}, they go to the root.