-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
🍰 p2-nice-to-havePriority 2: this is not breaking anything but nice to have it addressed.Priority 2: this is not breaking anything but nice to have it addressed.🐞 bugSomething isn't workingSomething isn't workingscope: sfc-style-vars
Description
Vue version
3.2.40
Link to minimal reproduction
Steps to reproduce
1, Declare responsive variables in script with Unicode variable names.'
2, Use in style via v-bind
.
What is expected?
JS and CSS variable names both support Unicode variable names, so there is no problem compiling directly into Unicode CSS variable names?
var(--472cff63-english);
var(--472cff63-中文);
var(--472cff63-にほんご);
var(--472cff63-français);
What is actually happening?
Unicode JS variable names used in Style via v-bind() will be replaced with _
when compiled into CSS code. Then variable names with the same number of digits will be converted to the same.
var(--472cff63-english);
var(--472cff63-__);
var(--472cff63-____);
var(--472cff63-fran_ais);
System Info
No response
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
🍰 p2-nice-to-havePriority 2: this is not breaking anything but nice to have it addressed.Priority 2: this is not breaking anything but nice to have it addressed.🐞 bugSomething isn't workingSomething isn't workingscope: sfc-style-vars