\t (	) doesn't work in SFC component
Vue version
latest
Link to minimal reproduction
Steps to reproduce
reproduction in sfc playground
What is expected?
What is actually happening?
seems like \t
in div will be transformed to space
character:
System Info
chrome on mac, both of them are latest updated.
Any additional comments?
No response
This is intended behavior as described here.
Vue's whitespace condensing happens at compile time and can only be altered via the presence of <pre>
tag or compiler options. We cannot predict how the CSS is applied at runtime, so this is a wontfix.