nixin-web/components/NixForm.vue

14 lines
304 B
Vue
Raw Permalink Normal View History

2024-10-09 11:05:41 +00:00
<script setup>
import {provide} from 'vue';
2024-10-09 11:05:41 +00:00
import DynamicComponent from "./DynamicComponent.vue"
const props = defineProps(['service'])
let serviceComponent = 'form-'+props.service.id
provide('service', props.service)
2024-10-09 11:05:41 +00:00
</script>
<template>
<dynamic-component :type="serviceComponent" />
</template>