SFC Playground <style> v-bind does not work in safari ipad when initializing sandbox
Vue version
3.2.37
Link to minimal reproduction
Steps to reproduce
Go into the sandbox and try pushing the button
What is expected?
The color of the text changes
What is actually happening?
The color of the text is not related to v-bind
System Info
Ipad pro IpadOs 15.5 with safari
Any additional comments?
i'm using Ipad pro ipadOS 15.5 with safari. When I go from the vue 3.2 documentation to the link sfc vue v-bind style does not work But if you try to change the code, the code starts working. This is most likely an SFC error
请教下,在style标签中能使用v-if么?
You can use v-bind()
with the the conditional operator in CSS. See this example.