0xBF
0xBF

0xBF

Vue3 use v-bind in style tag

0xBF's photo
0xBF
·Dec 12, 2021·

1 min read

Style

<script setup lang="ts">
const color = ref("red)
</script>

<style scoped>
.text {
    color: v-bind('color')
}
</style>
 
Share this