How to prepare a property for template? This code throws an error:
<script setup>
...
const props = defineProps<{ datails: TData }>();
const value = props.datails.value; // i dont want to use long paths in the template
</script>
<template>
<div>
<a>{{ value }}</a>
...
The error:
error Getting a value from the 'props' in root scope of will cause the value to lose reactivity vue/no-setup-props-destructure
So how to short paths for data binding in the template please?