mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-07-19 05:09:37 +02:00
16 lines
233 B
Vue
16 lines
233 B
Vue
|
<script lang="ts" setup>
|
||
|
const modal1 = ref();
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div>
|
||
|
<c-button @click="() => modal1?.open()">
|
||
|
Open Modal
|
||
|
</c-button>
|
||
|
|
||
|
<c-modal ref="modal1">
|
||
|
Content
|
||
|
</c-modal>
|
||
|
</div>
|
||
|
</template>
|