Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dataScope prop doesn't work with composition api #117

Open
iv-thomson opened this issue Nov 30, 2023 · 0 comments
Open

dataScope prop doesn't work with composition api #117

iv-thomson opened this issue Nov 30, 2023 · 0 comments

Comments

@iv-thomson
Copy link

iv-thomson commented Nov 30, 2023

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant