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:{