[ui] Vue 3 - Migrated Modal component
</template>
<script lang="ts">
- import Vue from 'vue';
- import Component from 'vue-class-component';
+ import { defineComponent } from 'vue';
// Based on https://vuejs.org/v2/examples/modal.html
- @Component
- export default class Modal extends Vue {}
+ export default defineComponent({
+ emits: ['close']
+ });
</script>
<style lang="scss" scoped>
