Provide SubscriptionRequiredDialog globally via provide/inject
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
<script setup>
|
||||
|
||||
// Use this in any component after injecting from the Index.vue provided Dialog
|
||||
//
|
||||
// const subscriptionRequiredDialog = inject('subscriptionRequiredDialog');
|
||||
// subscriptionRequiredDialog.value.open();
|
||||
|
||||
import { useTemplateRef } from 'vue';
|
||||
import { Dialog, Button } from 'pankow';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user