unplugin / unplugin-vue2-script-setup

💡 Bring `<script setup>` to Vue 2.
MIT License
599 stars 39 forks source link

fix: strict version range to 2.6.x #145

Closed Meglody closed 2 years ago

Meglody commented 2 years ago

such like:

<script setup lang="ts">
const count = ref(0)
</script>
<template>
  <span>{{ count }}</span>
</template>

console will throw error:

 The setup binding property "count" is already declared.

and this will appears to dom: { "value": 0 }

antfu commented 2 years ago

Do you mean it conflicts with 2.7?

Meglody commented 2 years ago

Do you mean it conflicts with 2.7?

Yes, Exactly.