diff --git a/src/views/badge/BadgeDoc.vue b/src/views/badge/BadgeDoc.vue index b973d1015..2c273117a 100644 --- a/src/views/badge/BadgeDoc.vue +++ b/src/views/badge/BadgeDoc.vue @@ -25,7 +25,7 @@ import BadgeDirective from 'primevue/badgedirective';
import BadgeDirective from 'primevue/badgedirective';
-Vue.directive('badge', BadgeDirective);
+app.directive('badge', BadgeDirective);
diff --git a/src/views/message/MessageDoc.vue b/src/views/message/MessageDoc.vue
index a3e67e1df..2ceab89d7 100755
--- a/src/views/message/MessageDoc.vue
+++ b/src/views/message/MessageDoc.vue
@@ -112,7 +112,7 @@ import InlineMessage from 'primevue/inlinemessage';
-