From 66eca2e78d9378945e78ce356aa7a0ea58e757e5 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 14 Jun 2022 15:02:58 +0300 Subject: [PATCH] Add import --- src/views/dynamicdialog/DynamicDialogDoc.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/dynamicdialog/DynamicDialogDoc.vue b/src/views/dynamicdialog/DynamicDialogDoc.vue index 8fdf67f7b..157c3e35b 100644 --- a/src/views/dynamicdialog/DynamicDialogDoc.vue +++ b/src/views/dynamicdialog/DynamicDialogDoc.vue @@ -45,6 +45,8 @@ const dialogRef = this.$dialog;
Composition API

The service can be injected with the useDialog function.


+import { useDialog } from 'primevue/useDialog';
+
 const dialog = useDialog();
 
 
@@ -70,6 +72,7 @@ export default {
Composition API

 import ProductListDemo from './ProductListDemo';
+import { useDialog } from 'primevue/useDialog';
 
 export default {
     methods:{