Closed
Description
Version
3.2.0-beta.5
Reproduction link
Steps to reproduce
I commented the code of style css variable injection, like this:
<template>
<h1>{{ msg }}</h1>
</template>
<script setup>
const msg = 'Hello World!'
const color = "red"
</script>
<style scoped>
h1 {
/* color: v-bind(color); */
}
</style>
but it still generate css vars code on the style:
What is expected?
When I commented the code of style css variable injection, the css vars code will not be generated on the style.
What is actually happening?
It will generate css vars code on the style.
Metadata
Metadata
Assignees
Labels
No labels