When using dataScope prop with examples that use composition api OR do not have a script tag I get following error:
t2.data is not a function
Please, check the demo for more details:
https://github.com/iv-thomson/vue-live-data-scope-demo
Example used in demo:
<template>
<h6>{{ new Date(test) }}</h6>
</template>
<script setup>
const test = "10 Dec 2028"
</script>