how to exclude some variable exposed to template
What problem does this feature solve?
<script setup>
const a = 0
const b = 1
// some exclude ...
// eg...just like
exclude({
b
})
</script>
<template>
{{a}} // 0
{{b}} // error
</template>
What does the proposed API look like?
<script setup>
const a = 0
const b = 1
// some exclude ...
// eg...just like
exclude({
b
})
</script>
<template>
{{a}} // 0
{{b}} // error
</template>