22 lines
472 B
Vue
22 lines
472 B
Vue
<script setup>
|
|
|
|
import { useTemplateRef } from 'vue';
|
|
import { Dialog, Button } from 'pankow';
|
|
|
|
const dialog = useTemplateRef('dialog');
|
|
|
|
defineExpose({
|
|
async open() {
|
|
dialog.value.open();
|
|
}
|
|
});
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<Dialog ref="dialog" title="Subscription required" :show-x="true">
|
|
<p>To use this feature a Cloudron subscription needs to be set up</p>
|
|
<Button href="https://console.cloudron.io" target="_blank">Set up</Button>
|
|
</Dialog>
|
|
</template>
|